Skip to content

Commit

Permalink
Fix endpoint for StartThreadNoMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Aug 1, 2023
1 parent 02c32f3 commit c06c2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord/Internal/Rest/Channel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ channelJsonRequest c = case c of
mempty

(StartThreadNoMessage chan sto) ->
Post (channels /~ chan /: "messages" /: "threads")
Post (channels /~ chan /: "threads")
(pure $ R.ReqBodyJson $ toJSON sto)
mempty

Expand Down

0 comments on commit c06c2b9

Please sign in to comment.