summaryrefslogtreecommitdiff
path: root/app/node_modules/okquery/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/node_modules/okquery/index.js')
-rw-r--r--app/node_modules/okquery/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/node_modules/okquery/index.js b/app/node_modules/okquery/index.js
index 9cc8b78..519bc08 100644
--- a/app/node_modules/okquery/index.js
+++ b/app/node_modules/okquery/index.js
@@ -33,6 +33,12 @@ function OKQuery(options) {
enumerable: true
});
+ Object.defineProperty(this, 'as', {
+ value: options.as,
+ writable: false,
+ enumerable: true
+ });
+
this.get = createQuery(resource, query, {
default: options.default
});