X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Futils%2FcompgameStorage.js;h=c8463047fd5b1e07c6f49b302a9515f16baf7b2a;hp=4f5181effa3493469ce375fa2bc963975b2cae76;hb=937c24ab2871b31a7e531226603fc75acab7edb8;hpb=4c1fea477bb7024d1c11be7c49eecf19f6ed9800 diff --git a/client/src/utils/compgameStorage.js b/client/src/utils/compgameStorage.js index 4f5181ef..c8463047 100644 --- a/client/src/utils/compgameStorage.js +++ b/client/src/utils/compgameStorage.js @@ -37,6 +37,7 @@ function dbOperation(callback) { } export const CompgameStorage = { + add: function(game) { dbOperation((err, db) => { if (err) return; @@ -90,4 +91,5 @@ export const CompgameStorage = { } }); } + };