summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorJulien Dessaux2023-01-03 23:51:00 +0100
committerJulien Dessaux2023-01-03 23:51:00 +0100
commitc5d2d7ca77a502ea607d2db5ecdec972bc76bc69 (patch)
tree877c4bb29aef5ba8de491d78cfc9ee7e31232ad7 /database
parentContinue adding tests (diff)
downloadjeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.gz
jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.bz2
jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.zip
Fixed fixtures and testing
Diffstat (limited to 'database')
-rw-r--r--database/games.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/database/games.js b/database/games.js
index dae3ce6..3517d0a 100644
--- a/database/games.js
+++ b/database/games.js
@@ -8,7 +8,6 @@ export function getGame(id) {
try {
return getGameStatement.get(id);
} catch (err) {
- console.log(err);
return null;
}
}
@@ -26,7 +25,6 @@ export function newGame(player1, player2, data) {
try {
return newGameStatement.run(player1, player2, JSON.stringify(data)).lastInsertRowid;
} catch (err) {
- console.log(err);
return null;
}
}