Fixup POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_id
What does this MR do?
Fixes POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_id
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
500s in the API when creating/upating project hooks via the v3 api with build_actions specified.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Edited by Richard Clamp