projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add last 2 variants in DB - still small bugs - will fix tomorrow
[vchess.git]
/
client
/
src
/
utils
/
compgameStorage.js
diff --git
a/client/src/utils/compgameStorage.js
b/client/src/utils/compgameStorage.js
index
4f5181e
..
c846304
100644
(file)
--- 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 = {
}
});
}
+
};