summaryrefslogtreecommitdiff
path: root/app/node_modules/okdb/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-28 13:59:50 -0400
committerJules Laplace <jules@okfoc.us>2016-03-28 13:59:50 -0400
commit8898bbe48285c7f9f11760ef420cca43d683d5e0 (patch)
tree00a2e6c49ddd6894c60e893bfd8426363a3d4a05 /app/node_modules/okdb/index.js
parent57026202f9ac0b98cc744734a04bcee362b789a3 (diff)
modify links field to specify text and uri
Diffstat (limited to 'app/node_modules/okdb/index.js')
-rw-r--r--app/node_modules/okdb/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/node_modules/okdb/index.js b/app/node_modules/okdb/index.js
index 4820c8c..ad8d9a7 100644
--- a/app/node_modules/okdb/index.js
+++ b/app/node_modules/okdb/index.js
@@ -97,7 +97,7 @@ FSDB.prototype.update = function(collection, id, data) {
}
var result = chain.assign(cloneDeep(data)).value();
- if (result ) {
+ if (result) {
return resolve(cloneDeep(result));
} else {
return resolve(null, new Error('Problem updating document'));