Jelajahi Sumber

Follow Go naming conventions.

Bruce Marriner 9 tahun lalu
induk
melakukan
ae860ce166
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)