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

allow factionleader to leace faction

parent 7d2766c4
No related branches found
No related tags found
2 merge requests!59Development to master,!48Development
......@@ -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);
......
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