aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-client.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-23 09:28:14 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-23 11:09:06 -0400
commitcf814e11bdb9c3f7a8b4aeed61d429a28a4d66cb (patch)
tree459183e386e4136efa476d20e82f9f89351d6d71 /lisp/mastodon-client.el
parent993fbec64edf128ba9e5a1aa61f93c385fe3be31 (diff)
Group API endpoint function with mastodon-http
Diffstat (limited to 'lisp/mastodon-client.el')
-rw-r--r--lisp/mastodon-client.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el
index 25f303f..d422e78 100644
--- a/lisp/mastodon-client.el
+++ b/lisp/mastodon-client.el
@@ -41,7 +41,7 @@
(defun mastodon-client--register ()
"POST client to Mastodon."
(mastodon-http--post
- (mastodon--api-for "apps")
+ (mastodon-http--api "apps")
'(("client_name" . "mastodon.el")
("redirect_uris" . "urn:ietf:wg:oauth:2.0:oob")
("scopes" . "read write follow")