projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0016589
)
Add GET route for verify_credentials
author
dtluna
<dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:41:21 +0000
(15:41 +0300)
committer
dtluna
<dtluna@openmailbox.org>
Mon, 10 Apr 2017 12:41:21 +0000
(15:41 +0300)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 52030d684ac16d093977094286974f7bcd94dde8..0d2432b9e134ed93f4f673217e8b61083227ae9f 100644
(file)
--- 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