move overall stats to its own service file
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user