X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=client%2Fsrc%2Futils%2FcompgameStorage.js;h=c8463047fd5b1e07c6f49b302a9515f16baf7b2a;hb=b2511e7ed206464ec369920277f474289c33ec66;hp=4f5181effa3493469ce375fa2bc963975b2cae76;hpb=cc25444a44669a7deb6c096c1195f320d17590a1;p=vchess.git 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 = { } }); } + };