🔨 Change multual guilds url
This commit is contained in:
parent
9b056fdc21
commit
e760a87e1d
@ -22,7 +22,7 @@ public class GuildController {
|
|||||||
this.guildService = guildService;
|
this.guildService = guildService;
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("mutual-guilds")
|
@GetMapping("mutual")
|
||||||
public List<Guild> getMutualGuilds(Authentication authentication){
|
public List<Guild> getMutualGuilds(Authentication authentication){
|
||||||
JwtPrincipal jwtPrincipal = (JwtPrincipal) authentication.getPrincipal();
|
JwtPrincipal jwtPrincipal = (JwtPrincipal) authentication.getPrincipal();
|
||||||
return guildService.getMutualGuilds(jwtPrincipal.user());
|
return guildService.getMutualGuilds(jwtPrincipal.user());
|
||||||
|
Loading…
Reference in New Issue
Block a user