From 43c291fb0e32a161ad69a752eebd3de8bcb0ff6e Mon Sep 17 00:00:00 2001 From: L4168 <L4168@student.jamk.fi> Date: Wed, 10 Jul 2019 10:21:16 +0300 Subject: [PATCH] updated faction verify return --- src/faction/faction.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/faction/faction.service.ts b/src/faction/faction.service.ts index dc4e149..0694033 100644 --- a/src/faction/faction.service.ts +++ b/src/faction/faction.service.ts @@ -136,7 +136,7 @@ export class FactionService { }); if (gameperson) { return { - message: gameperson, + factionId: gameperson.faction.factionId, }; } else { throw new HttpException('No faction was found', HttpStatus.BAD_REQUEST); -- GitLab