From ff0fccd6c2c48f15749695d8c42c9e5e70337ac7 Mon Sep 17 00:00:00 2001 From: Jacob Gunther <16949253+PassTheMayo@users.noreply.github.com> Date: Mon, 11 Dec 2017 09:50:50 -0600 Subject: [PATCH] Oh noes! I didn't even notice that I had a typo... --- lib/document_stores/rethinkdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/document_stores/rethinkdb.js b/lib/document_stores/rethinkdb.js index 3fa60dc..b7ee7ae 100644 --- a/lib/document_stores/rethinkdb.js +++ b/lib/document_stores/rethinkdb.js @@ -20,7 +20,7 @@ RethinkDBStore.md5 = (str) => { RethinkDBStore.prototype.set = (key, data, callback) => { try { - this.client.table('uploads').insert({ id: RethinkDBStore.md5(key), data: data }).run((error) =? { + this.client.table('uploads').insert({ id: RethinkDBStore.md5(key), data: data }).run((error) => { if (error) return callback(false); callback(true); });