Wrong method call on notify_post_receive.

This commit is contained in:
Luigi Leoni 2017-04-27 09:33:48 +02:00
parent 93a698f9b2
commit 615a77df83
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
---
title: Fixed wrong method call on notify_post_receive
merge_request:
author: Luigi Leoni

View file

@ -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