From cf53b361b98b899aeededde6aad1d4aca54fd8ff Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 3 Sep 2014 13:33:44 +0300 Subject: Make sure /api/allowed return 200 status code Signed-off-by: Dmitriy Zaporozhets --- lib/api/internal.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/api/internal.rb') diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 2b0ef114913..5f484f63418 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -13,6 +13,8 @@ module API # forced_push - forced_push # post "/allowed" do + status 200 + # Check for *.wiki repositories. # Strip out the .wiki from the pathname before finding the # project. This applies the correct project permissions to -- cgit v1.2.1