Skip to content

Commit

Permalink
Fix updating user data
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Mar 15, 2023
1 parent c9cf766 commit 0552563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workers/loc.api/sync/authenticator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,8 @@ class Authenticator {
: this.getUserSessionByEmail({ email, isSubAccount })?.token

if (
existedToken &&
typeof existedToken === 'string'
!existedToken ||
typeof existedToken !== 'string'
) {
return true
}
Expand Down

0 comments on commit 0552563

Please sign in to comment.