Commit cf53b361 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make sure /api/allowed return 200 status code

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0a7dea29
...@@ -13,6 +13,8 @@ module API ...@@ -13,6 +13,8 @@ module API
# forced_push - forced_push # forced_push - forced_push
# #
post "/allowed" do post "/allowed" do
status 200
# Check for *.wiki repositories. # Check for *.wiki repositories.
# Strip out the .wiki from the pathname before finding the # Strip out the .wiki from the pathname before finding the
# project. This applies the correct project permissions to # project. This applies the correct project permissions to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment