diff --git a/src/faction/faction.controller.ts b/src/faction/faction.controller.ts index f430c3ed7f801a033df3e686dbddb9e22829e139..60ae33a221877101150967cc424aea3a4bf34360 100644 --- a/src/faction/faction.controller.ts +++ b/src/faction/faction.controller.ts @@ -95,7 +95,7 @@ export class FactionController { // used to leave a faction // :id is the if of the game @Delete('leave/:id') - @Roles('soldier') + @Roles('soldier', 'factionleader') @GameStates('CREATED') leaveFaction(@GamePerson('gamepersonId') gamepersonId) { return this.factionservice.leaveFaction(gamepersonId);