diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 65ec8524..b14e22a7 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -966,7 +966,11 @@ module.exports = function(registry) { setRemoting(PersistedModel, 'bulkUpdate', { description: 'Run multiple updates at once. Note: this is not atomic.', accessType: 'WRITE', - accepts: {arg: 'updates', type: 'array'}, + accepts: [{arg: 'updates', type: 'array'}, + { + arg: 'options', + type: 'object', + }], http: {verb: 'post', path: '/bulk-update'}, });