X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Futils%2FimportgameStorage.js;fp=client%2Fsrc%2Futils%2FimportgameStorage.js;h=bcda4fd25066f6bdc08f3e72f512e46e8ae393f5;hb=937c24ab2871b31a7e531226603fc75acab7edb8;hp=46a60bbb5ef45b4e2a8626c18944067aeacd7427;hpb=4c1fea477bb7024d1c11be7c49eecf19f6ed9800;p=vchess.git diff --git a/client/src/utils/importgameStorage.js b/client/src/utils/importgameStorage.js index 46a60bbb..bcda4fd2 100644 --- a/client/src/utils/importgameStorage.js +++ b/client/src/utils/importgameStorage.js @@ -33,6 +33,7 @@ function dbOperation(callback) { } export const ImportgameStorage = { + // Optional callback to get error status add: function(game, callback) { dbOperation((err, db) => { @@ -110,4 +111,5 @@ export const ImportgameStorage = { } }); } + };