Skip to content
Snippets Groups Projects
Commit 816d110a authored by Marcos Spessatto Defendi's avatar Marcos Spessatto Defendi Committed by Rodrigo Nascimento
Browse files

[BREAK] Validate incoming message schema (#9922)

* Added validation in chat.postMessage endpoint

* fix required parameters and add more tests cases.

* Added the same validation to chat.sendMessage method too.

* changed validation level, set in sendMessage method

* Improvements in the sendMessage function, removed underscore uses, and try catch unnecessary

* Fix test in chat.sendMessage endpoint, and fix error in sendMessage function

* fix review
parent 136e9caa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment