Unverified Commit 8da37ea5 authored by John Crepezzi's avatar John Crepezzi Committed by GitHub
Browse files

Merge pull request #190 from PassTheMayo/patch-1

Oh noes! I didn't even notice that I had a typo...
parents 63c45766 ff0fccd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
    });