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
incorrectly calls . The third argument to is the flag.
When is (as it is for paths under ), the call is treated as a partial update, which is not expected, causing the promise to be ignored and the error to be thrown.
Problematic Code
The issue is here:
Suggested Fix
The wrapper in should be used, as it correctly handles the flag as the 5th argument.
The calls in and should be changed to use the function, similar to how does it.
Example correct implementation from :
This will ensure the boolean is not misinterpreted as the flag.