🔨 Change multual guilds url

This commit is contained in:
SebClem 2022-05-30 20:20:39 +02:00
parent 9b056fdc21
commit e760a87e1d
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -22,7 +22,7 @@ public class GuildController {
this.guildService = guildService;
}
@GetMapping("mutual-guilds")
@GetMapping("mutual")
public List<Guild> getMutualGuilds(Authentication authentication){
JwtPrincipal jwtPrincipal = (JwtPrincipal) authentication.getPrincipal();
return guildService.getMutualGuilds(jwtPrincipal.user());