1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-01 03:21:21 +00:00

Oh noes! I didn't even notice that I had a typo...

This commit is contained in:
Jacob Gunther 2017-12-11 09:50:50 -06:00 committed by GitHub
parent 63c4576633
commit ff0fccd6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ RethinkDBStore.md5 = (str) => {
RethinkDBStore.prototype.set = (key, data, callback) => { RethinkDBStore.prototype.set = (key, data, callback) => {
try { 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); if (error) return callback(false);
callback(true); callback(true);
}); });