move overall stats to its own service file

This commit is contained in:
iamBadgers
2024-06-08 12:20:49 -07:00
parent fa17f77e5b
commit 9a20bfb8c8
5 changed files with 149 additions and 123 deletions

View File

@@ -88,7 +88,7 @@ export function addCharacterApis(app, jsonParser) {
if (gameHistory) {
res.send(gameHistory)
} else {
res.status(404).send("Could nor find character.")
res.status(404).send('Could nor find character.')
}
} catch (e) {
res.status(500).send(e)