浏览代码

Fix EndpointInvite (#892)

courtier 3 年之前
父节点
当前提交
30251cf325
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      endpoints.go

+ 1 - 1
endpoints.go

@@ -171,7 +171,7 @@ var (
 
 	EndpointGuildCreate = EndpointAPI + "guilds"
 
-	EndpointInvite = func(iID string) string { return EndpointAPI + "invite/" + iID }
+	EndpointInvite = func(iID string) string { return EndpointAPI + "invites/" + iID }
 
 	EndpointIntegrationsJoin = func(iID string) string { return EndpointAPI + "integrations/" + iID + "/join" }