Small hack to make notifications return empty for now.

This commit is contained in:
Roger Braun 2017-09-09 19:19:13 +02:00
commit d66d69c3b4
2 changed files with 8 additions and 0 deletions

View file

@ -61,6 +61,8 @@ defmodule Pleroma.Web.Router do
post "/statuses/:id/reblog", MastodonAPIController, :reblog_status
post "/statuses/:id/favourite", MastodonAPIController, :fav_status
post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
get "/notifications", MastodonAPIController, :empty_array
end
scope "/api", Pleroma.Web do