Commit 833d4ddd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Dont send 404 if no broadcast messages now because it flood gitlab-shell logs with 404 errors :(

parent 138aa81e
...@@ -73,8 +73,6 @@ module API ...@@ -73,8 +73,6 @@ module API
get "/broadcast_message" do get "/broadcast_message" do
if message = BroadcastMessage.current if message = BroadcastMessage.current
present message, with: Entities::BroadcastMessage present message, with: Entities::BroadcastMessage
else
not_found!
end end
end end
end end
......
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