Skip to content

Commit

Permalink
Fix unique feeds id constraint error (#3562)
Browse files Browse the repository at this point in the history
  • Loading branch information
DukeManh authored Apr 23, 2022
1 parent a050646 commit e406930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/sso/src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const createNewProfile = async (id, body) => {
html_url: blogUrl,
type: type || 'blog',
})),
{ returning: 'minimal' }
{ returning: 'minimal', onConflict: 'id' }
);
}
return result;
Expand Down

0 comments on commit e406930

Please sign in to comment.