-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
136e9ca
commit 816d110
Showing
5 changed files
with
351 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.