diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-06 14:25:05 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-06 15:27:53 -0400 |
| commit | 394b89b2be765d02b4544198d13cf442f2a2b5c7 (patch) | |
| tree | c9343c2b1d553896fdef6ee7a4cf52668d9965ad | |
| parent | 4c83c4a5da14c81bc74b8e9ce196e0c9017c89cc (diff) | |
Fix instantiation bug in OKQuery
| -rw-r--r-- | app/node_modules/okquery/index.js | 2 |
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'); |
