Add unfav to Mastodon API.

This commit is contained in:
Roger Braun 2017-09-09 18:30:02 +02:00
commit d625d8db7d
7 changed files with 49 additions and 22 deletions

View file

@ -60,6 +60,7 @@ 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
end
scope "/api", Pleroma.Web do