projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Otage] fix black pawn promoting with white pawn in hostage
[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 = {
}
});
}
+
};