InternalServerError when calling api for hook creation
When calling the api for create a new hook for only wiki_events, i'm getting a 500 error. The call its:
'Rcarmona:~/ $ curl -H 'Content-Type: application/json' -X POST -d '{"id":1,"url":"http://1.1.1.1:8000/hooks","push_events":false,"tag_push_events":false,"enable_ssl_verification":false,"issues_events":false,"merge_requests_events":false,"note_events":false,"build_events":false,"pipeline_events":false,"wiki_events":true}' http://replica-gitlab/api/v3/projects/1/hooks -H "PRIVATE-TOKEN: FILTERED"
{"message":"500 Internal Server Error"}%'
So, i've tryed reconstruncting the request from a response of a list of hooks. The parameter wiki_events its called wiki_page_events. If i send the request with that parameter instead, the hook creation works, but not enabled the wiki_events hook.
Edited by 🤖 GitLab Bot 🤖