Skip to content

Commit

Permalink
Merge pull request #190 from PassTheMayo/patch-1
Browse files Browse the repository at this point in the history
Oh noes! I didn't even notice that I had a typo...
  • Loading branch information
seejohnrun authored Dec 11, 2017
2 parents 63c4576 + ff0fccd commit 8da37ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/document_stores/rethinkdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 8da37ea

Please sign in to comment.