mirror of
https://github.com/SunRed/haste-server.git
synced 2024-12-28 15:10:11 +01:00
Merge pull request #190 from PassTheMayo/patch-1
Oh noes! I didn't even notice that I had a typo...
This commit is contained in:
commit
8da37ea5de
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue