From: dtluna Date: Mon, 10 Apr 2017 12:41:21 +0000 (+0300) Subject: Add GET route for verify_credentials X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=48b6ae2314ffc087d1db33b0caaee34b877120c3;p=akkoma Add GET route for verify_credentials --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 52030d684..0d2432b9e 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -30,6 +30,7 @@ defmodule Pleroma.Web.Router do scope "/api", Pleroma.Web do pipe_through :authenticated_api + get "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials post "/statuses/update", TwitterAPI.Controller, :status_update get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline