diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-07 23:05:44 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-07 23:05:44 -0400 |
| commit | 68fc2c92fad18c1685f5d67048d3147bb38d55c7 (patch) | |
| tree | 7418995f1ff084b9a92349547ae4f2e9a9ae3c13 /app/node_modules/okquery/index.js | |
| parent | 007384de007844e865bf906b8cb6eadaed4027e6 (diff) | |
ID fields for resources now determined by app config
Diffstat (limited to 'app/node_modules/okquery/index.js')
| -rw-r--r-- | app/node_modules/okquery/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/node_modules/okquery/index.js b/app/node_modules/okquery/index.js index c28971f..a64f0f2 100644 --- a/app/node_modules/okquery/index.js +++ b/app/node_modules/okquery/index.js @@ -37,8 +37,9 @@ function createQuery(resource, query, options) { } else { query = querySingle(resource, query); } - if (options.default) + if (options.default) { query = withDefault(query, options.default); + } return query; } |
