Skip to content
Snippets Groups Projects
Commit d96f5dc4 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

Merge branch '859-duplicate-identity-crashes-server' into 'main'

fix(*): duplicate identity crashes server

See merge request !75
parents 28a4c1ff d2fb19f5
No related branches found
No related tags found
1 merge request!75fix: duplicate identify crashes server
......@@ -56,7 +56,7 @@ const createOAuthIdentity = async (userId, provider, sessionState, code) => {
Buffer.from(authData.oauthAccessToken.split('.')[1], 'base64').toString(),
)
identity = Identity.insert({
identity = await Identity.insert({
email,
provider,
userId,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment