Kaynağa Gözat

Follow Go naming conventions.

Bruce Marriner 8 yıl önce
ebeveyn
işleme
ae860ce166
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      restapi.go

+ 1 - 1
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)