Add GET route for verify_credentials
This commit is contained in:
parent
0016589aea
commit
48b6ae2314
|
@ -30,6 +30,7 @@ def user_fetcher(username) do
|
||||||
scope "/api", Pleroma.Web do
|
scope "/api", Pleroma.Web do
|
||||||
pipe_through :authenticated_api
|
pipe_through :authenticated_api
|
||||||
|
|
||||||
|
get "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
|
||||||
post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
|
post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
|
||||||
post "/statuses/update", TwitterAPI.Controller, :status_update
|
post "/statuses/update", TwitterAPI.Controller, :status_update
|
||||||
get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
|
get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
|
||||||
|
|
Loading…
Reference in New Issue