Wrong method call on notify_post_receive.
This commit is contained in:
parent
93a698f9b2
commit
615a77df83
2 changed files with 5 additions and 1 deletions
4
changelogs/unreleased/fix-notify-post-receive.yml
Normal file
4
changelogs/unreleased/fix-notify-post-receive.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Fixed wrong method call on notify_post_receive
|
||||||
|
merge_request:
|
||||||
|
author: Luigi Leoni
|
|
@ -140,7 +140,7 @@ module API
|
||||||
begin
|
begin
|
||||||
Gitlab::GitalyClient::Notifications.new(project.repository).post_receive
|
Gitlab::GitalyClient::Notifications.new(project.repository).post_receive
|
||||||
rescue GRPC::Unavailable => e
|
rescue GRPC::Unavailable => e
|
||||||
render_api_error(e, 500)
|
render_api_error!(e, 500)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue