summaryrefslogtreecommitdiff
path: root/database/games.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}
}