From ae860ce166611f93a377eb1514d3b4ba5fa6206d Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Tue, 14 Jun 2016 09:04:41 -0500 Subject: [PATCH] Follow Go naming conventions. --- restapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi.go b/restapi.go index a1878d7..2b0448b 100644 --- a/restapi.go +++ b/restapi.go @@ -843,7 +843,7 @@ func (s *Session) GuildIntegrationCreate(guildID, integrationType, integrationID data := struct { Type string `json:"type"` - Id string `json:"id"` + ID string `json:"id"` }{integrationType, integrationID} _, err = s.Request("POST", EndpointGuildIntegrations(guildID), data)