You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme in my lib says that the return of the acquireLock function is a Promise<boolean>. Only if it returns true, should the lock be considered acquired. However, as seen here, the return value is not checked.
More information can be found in this issue, and the changes required can be found in this comment.
The text was updated successfully, but these errors were encountered:
rishabhpoddar
changed the title
Incorrect use of browser-tabs-lock acquireLock function
Incorrect use of SuperTokens' browser-tabs-lock acquireLock function
Nov 30, 2020
Describe the problem
The readme in my lib says that the return of the
acquireLock
function is aPromise<boolean>
. Only if it returnstrue
, should the lock be considered acquired. However, as seen here, the return value is not checked.More information can be found in this issue, and the changes required can be found in this comment.
The text was updated successfully, but these errors were encountered: