incorrect array access
This commit is contained in:
mrjrdnthms 2017-02-07 16:08:55 -08:00
parent 4ea8c29bd2
commit 9da564feef
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ module.exports = function(registry) {
// set options.explicitSinceSource to true in model config
// to explicitly set argument source and ensure its passed
if (options.explicitSinceSource) {
diffOptions[0].accepts.http = {source: 'query'};
diffOptions.accepts[0].http = {source: 'query'};
}
setRemoting(PersistedModel, 'diff', diffOptions);