Content-Length: 210041 | pFad | http://github.com/nicklaw5/helix/commit/bdd8724155fffa06ddc61182058d7512b348fb20

D5 Merge pull request #217 from ashkeel/main · nicklaw5/helix@bdd8724 · GitHub
Skip to content

Commit

Permalink
Merge pull request #217 from ashkeel/main
Browse files Browse the repository at this point in the history
fix send chat messages not sending payload correctly
  • Loading branch information
nicklaw5 authored Mar 12, 2024
2 parents 8fb286d + 2dfc78c commit bdd8724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func (c *Client) SendChatMessage(params *SendChatMessageParams) (*ChatMessageRes
return nil, errors.New("error: sender id must be specified")
}

resp, err := c.post("/chat/messages", &ManyChatMessages{}, params)
resp, err := c.postAsJSON("/chat/messages", &ManyChatMessages{}, params)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit bdd8724

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nicklaw5/helix/commit/bdd8724155fffa06ddc61182058d7512b348fb20

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy