From 68fc2c92fad18c1685f5d67048d3147bb38d55c7 Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Tue, 7 Apr 2015 23:05:44 -0400 Subject: ID fields for resources now determined by app config --- app/node_modules/okquery/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/node_modules/okquery/index.js') 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; } -- cgit v1.2.3-70-g09d2