-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
SDK FY21-Q2
-
3091
Using the RealmJS 10.0.0-beta.6 and 10.0.0-beta.9, calling app.removeUset fails with the following error:
Error: Invalid arguments: 2 expected, but 1 supplied.
at cb (/Users/dlombard/Documents/development/work_projects/node_realm_test/node_modules/realm/lib/app.js:29:37)
at Promise (/Users/dlombard/Documents/development/work_projects/node_realm_test/node_modules/realm/lib/utils.js:33:13)
at new Promise (<anonymous>)
at promisify (/Users/dlombard/Documents/development/work_projects/node_realm_test/node_modules/realm/lib/utils.js:32:16)
at App.removeUser (/Users/dlombard/Documents/development/work_projects/node_realm_test/node_modules/realm/lib/app.js:29:16)
at run (/Users/dlombard/Documents/development/work_projects/node_realm_test/index.js:18:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
This appears to be the same issue marked as fixed in RJS-637.