summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/node_modules/okquery/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/node_modules/okquery/index.js b/app/node_modules/okquery/index.js
index d36feae..6f8d7b5 100644
--- a/app/node_modules/okquery/index.js
+++ b/app/node_modules/okquery/index.js
@@ -5,7 +5,7 @@
* of queries and resources.
*/
function OKQuery(options) {
- if (!(this instanceof OKQuery)) return new OKQuery(db, options);
+ if (!(this instanceof OKQuery)) return new OKQuery(options);
options = options || {};
if (!options.resource)
throw new Error('No resource provided to query');