From 9d34a19976c0bb11268cd57be23a6fda46504e4e Mon Sep 17 00:00:00 2001 From: Kogulan Baskaran Date: Wed, 16 Nov 2016 17:27:12 +1100 Subject: [PATCH] Add tenant to remote --- lib/persisted-model.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 2cafed93..1fb7df29 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -865,7 +865,8 @@ module.exports = function(registry) { accessType: 'READ', accepts: [ {arg: 'since', type: 'number', description: 'Only return changes since this checkpoint'}, - {arg: 'filter', type: 'object', description: 'Only include changes that match this filter'} + {arg: 'filter', type: 'object', description: 'Only include changes that match this filter'}, + {arg: 'tenant', type: 'string', description: 'Only include changes that match this tenant'}, ], returns: {arg: 'changes', type: 'array', root: true}, http: {verb: 'get', path: '/changes'}