diff --git a/src/faction/faction.service.ts b/src/faction/faction.service.ts index dc4e1490f76a1c386ec7d08a16b64f4d2337d5dd..06940338dabf99494ed657a0cd56cefb9576ccf5 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);