Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-706

App.removeUser - Invalid Arguments

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            davenson.lombard@mongodb.com Davenson Lombard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: