Add delete to TwAPI.

This commit is contained in:
Roger Braun 2017-09-04 20:48:14 +02:00
commit 1f9a5272e1
2 changed files with 13 additions and 1 deletions

View file

@ -82,6 +82,7 @@ defmodule Pleroma.Web.Router do
post "/statuses/update", TwitterAPI.Controller, :status_update
post "/statuses/retweet/:id", TwitterAPI.Controller, :retweet
post "/statuses/destroy/:id", TwitterAPI.Controller, :delete_post
post "/friendships/create", TwitterAPI.Controller, :follow
post "/friendships/destroy", TwitterAPI.Controller, :unfollow