diff options
author | Julien Dessaux | 2023-01-03 23:51:00 +0100 |
---|---|---|
committer | Julien Dessaux | 2023-01-03 23:51:00 +0100 |
commit | c5d2d7ca77a502ea607d2db5ecdec972bc76bc69 (patch) | |
tree | 877c4bb29aef5ba8de491d78cfc9ee7e31232ad7 /database/games.js | |
parent | Continue adding tests (diff) | |
download | jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.gz jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.tar.bz2 jeux-de-mots-c5d2d7ca77a502ea607d2db5ecdec972bc76bc69.zip |
Fixed fixtures and testing
Diffstat (limited to 'database/games.js')
-rw-r--r-- | database/games.js | 2 |
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; } } |