-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a POST handler for
render-diff
(#338)
* initial changes for using POST Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * added a post handler for render-diff Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * added a test Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * fixed a nil ptr bug Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * make sure a helper method checks for an error, does not behave like a handler Signed-off-by: Yash Sharma <yashrsharma44@gmail.com> * change the json methods to camel case and refactor common logic Signed-off-by: Yash Sharma <yashrsharma44@gmail.com>
- Loading branch information
1 parent
673ae2b
commit f3186f4
Showing
3 changed files
with
183 additions
and
18 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