orango icon indicating copy to clipboard operation
orango copied to clipboard

Error while using unlink

Open iraycd opened this issue 6 years ago • 0 comments

Version: 1.0.0-alpha-2.1 Node: node:10.15.1-alpine Arango: arangodb:3.4.1

Code:

    await memberSerivce.unlink({
      group: 'group1',
      user: 'user1'
    })

More information: Link and Inbound are working fine. Occurred in E2E test.

Error:


"scope" is not allowed

  at Object.<anonymous>.internals.Object.checkOptions (node_modules/joi/lib/types/any/index.js:109:19)
  at Object.<anonymous>.internals.Object._validateWithOptions (node_modules/joi/lib/types/any/index.js:746:18)
  at Object.<anonymous>.internals.Object.validate (node_modules/joi/lib/types/any/index.js:785:21)
  at Schema.validate (node_modules/tangjs/lib/Schema.js:74:16)
  at Schema.validate (node_modules/orango/lib/Schema.js:111:28)
  at OrangoModel.validate (node_modules/tangjs/lib/Model.js:92:33)
  at OrangoModel.toObject (node_modules/tangjs/lib/Model.js:115:25)
  at Builder.<anonymous> (node_modules/tangjs/lib/builder.js:18:22)
  at asyncForEach (node_modules/tangjs/lib/builder.js:64:39)

iraycd avatar Feb 10 '19 08:02 iraycd