diff --git a/changelogs/unreleased/fix-notify-post-receive.yml b/changelogs/unreleased/fix-notify-post-receive.yml new file mode 100644 index 0000000000000000000000000000000000000000..6b68396d5c50600ef54f8a2cb91b257829f9b215 --- /dev/null +++ b/changelogs/unreleased/fix-notify-post-receive.yml @@ -0,0 +1,4 @@ +--- +title: Fixed wrong method call on notify_post_receive +merge_request: +author: Luigi Leoni diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 5b48ee8665f8d71b83c69fc2e5a1f65fc2587bb1..ebed26dd1786687b79ae91dff672249e47a33b4f 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -140,7 +140,7 @@ module API begin Gitlab::GitalyClient::Notifications.new(project.repository).post_receive rescue GRPC::Unavailable => e - render_api_error(e, 500) + render_api_error!(e, 500) end end end