Skip to content

Commit

Permalink
fix endpoint method
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Sep 21, 2024
1 parent 76178b1 commit d66a8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/rest_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var (
GetSoundboardDefaultSounds = NewEndpoint(http.MethodGet, "/soundboard-default-sounds")
GetGuildSoundboardSounds = NewEndpoint(http.MethodGet, "/guilds/{guild.id}/soundboard-sounds")
CreateGuildSoundboardSound = NewEndpoint(http.MethodPost, "/guilds/{guild.id}/soundboard-sounds")
GetGuildSoundboardSound = NewEndpoint(http.MethodPost, "/guilds/{guild.id}/soundboard-sounds/{sound.id}")
GetGuildSoundboardSound = NewEndpoint(http.MethodGet, "/guilds/{guild.id}/soundboard-sounds/{sound.id}")
UpdateGuildSoundboardSound = NewEndpoint(http.MethodPatch, "/guilds/{guild.id}/soundboard-sounds/{sound.id}")
DeleteGuildSoundboardSound = NewEndpoint(http.MethodDelete, "/guilds/{guild.id}/soundboard-sounds/{sound.id}")
)
Expand Down

0 comments on commit d66a8d7

Please sign in to comment.