From 0b0ea10b47dd53579ce75814c49dd5fb2fee142e Mon Sep 17 00:00:00 2001 From: Merlin Date: Mon, 3 Jul 2023 16:26:46 +0200 Subject: [PATCH] fix(endpoints): remove duplicated slash in guild template endpoint (#1395) --- endpoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints.go b/endpoints.go index a2a05fe..efc9a31 100644 --- a/endpoints.go +++ b/endpoints.go @@ -104,7 +104,7 @@ var ( EndpointGuildScheduledEvents = func(gID string) string { return EndpointGuilds + gID + "/scheduled-events" } EndpointGuildScheduledEvent = func(gID, eID string) string { return EndpointGuilds + gID + "/scheduled-events/" + eID } EndpointGuildScheduledEventUsers = func(gID, eID string) string { return EndpointGuildScheduledEvent(gID, eID) + "/users" } - EndpointGuildTemplate = func(tID string) string { return EndpointGuilds + "/templates/" + tID } + EndpointGuildTemplate = func(tID string) string { return EndpointGuilds + "templates/" + tID } EndpointGuildTemplates = func(gID string) string { return EndpointGuilds + gID + "/templates" } EndpointGuildTemplateSync = func(gID, tID string) string { return EndpointGuilds + gID + "/templates/" + tID } EndpointGuildMemberAvatar = func(gId, uID, aID string) string {