Add GET route for verify_credentials
authordtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:41:21 +0000 (15:41 +0300)
committerdtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:41:21 +0000 (15:41 +0300)
lib/pleroma/web/router.ex

index 52030d684ac16d093977094286974f7bcd94dde8..0d2432b9e134ed93f4f673217e8b61083227ae9f 100644 (file)
@@ -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