context.validatePermissions is not a function at Object.updateOrder (file:///usr/local/src/app/node_modules/@reactioncommerce/api-plugin-orders/src/mutations/updateOrder.js:50:17)
Steps to Reproduce
Simply call the updateOrder query with the context.
Possible Solution
As a work around use context.getInternalContext() instead of context which still has a validatePermissions function.
Issue Description
context.validatePermissions is not a function at Object.updateOrder (file:///usr/local/src/app/node_modules/@reactioncommerce/api-plugin-orders/src/mutations/updateOrder.js:50:17)
Steps to Reproduce
Simply call the updateOrder query with the context.
Possible Solution
As a work around use context.getInternalContext() instead of context which still has a validatePermissions function.