Skip to content
Snippets Groups Projects
Commit df652e90 authored by L4168's avatar L4168
Browse files

updated faction check return

parent 43c291fb
No related branches found
No related tags found
2 merge requests!59Development to master,!44Development to testing
...@@ -137,6 +137,7 @@ export class FactionService { ...@@ -137,6 +137,7 @@ export class FactionService {
if (gameperson) { if (gameperson) {
return { return {
factionId: gameperson.faction.factionId, factionId: gameperson.faction.factionId,
factionName: gameperson.faction.factionName,
}; };
} else { } else {
throw new HttpException('No faction was found', HttpStatus.BAD_REQUEST); throw new HttpException('No faction was found', HttpStatus.BAD_REQUEST);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment