Skip to content

Commit

Permalink
Merge pull request discord-haskell#182 from penelopeysm/start-thread-…
Browse files Browse the repository at this point in the history
…no-message

Fix endpoint for StartThreadNoMessage
  • Loading branch information
L0neGamer committed Aug 2, 2023
2 parents 38efc17 + c06c2b9 commit cfda309
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 cfda309

Please sign in to comment.