last game date?
This commit is contained in:
1 parent
1544117aae
commit
2db71661f0
2 files changed
+2
-1
No files matched your search
@@ -5,6 +5,7 @@ export function addCharacterApis(app, jsonParser) {
|
||||
app.get('/api/character/:characterId', async (req, res) => {
|
||||
try {
|
||||
const character = await Character.findOne({
|
||||
attributes: ["id", "characterName", "playerName", "role", "creationDate", "status"],
|
||||
where: { id: req.params['characterId'] }
|
||||
})
|
||||
if (character) {
|
||||
|
||||
Reference in new issue
Block a user