Add unfav to Mastodon API.
This commit is contained in:
parent
454dc18570
commit
d625d8db7d
7 changed files with 49 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue