From e760a87e1d2f607e63dd5cbdc3707674298fa80b Mon Sep 17 00:00:00 2001 From: SebClem Date: Mon, 30 May 2022 20:20:39 +0200 Subject: [PATCH] :hammer: Change multual guilds url --- src/main/java/net/Broken/Api/Controllers/GuildController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Broken/Api/Controllers/GuildController.java b/src/main/java/net/Broken/Api/Controllers/GuildController.java index 679927a..444d7b2 100644 --- a/src/main/java/net/Broken/Api/Controllers/GuildController.java +++ b/src/main/java/net/Broken/Api/Controllers/GuildController.java @@ -22,7 +22,7 @@ public class GuildController { this.guildService = guildService; } - @GetMapping("mutual-guilds") + @GetMapping("mutual") public List getMutualGuilds(Authentication authentication){ JwtPrincipal jwtPrincipal = (JwtPrincipal) authentication.getPrincipal(); return guildService.getMutualGuilds(jwtPrincipal.user());