diff options
author | Abhiseck Paira <abhiseckpaira@disroot.org> | 2022-02-25 18:59:56 +0530 |
---|---|---|
committer | Abhiseck Paira <abhiseckpaira@disroot.org> | 2022-02-25 18:59:56 +0530 |
commit | 7ec5aea30e8ada9475e1199a084d468f0031002d (patch) | |
tree | 136a89d3e2f3cabee5a2a2e21cc1f766f07a29bc /lisp/mastodon-auth.el | |
parent | 0af5b491d14d521c03ebc48d82608afd65166e90 (diff) |
auth: change name to mastodon-auth--request-authorization-code
Change the name of the function `mastodon-auth--ask-authorization-code'
to `mastodon-auth--request-authorization-code'.
Suggested-by: Marty Hiatt <martianhiatus@riseup.net>
Diffstat (limited to 'lisp/mastodon-auth.el')
-rw-r--r-- | lisp/mastodon-auth.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el index 2540598..416e714 100644 --- a/lisp/mastodon-auth.el +++ b/lisp/mastodon-auth.el @@ -86,7 +86,7 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"." "Paste Authorization Code here: ") (mastodon-client-form-user-from-vars))) -(defun mastodon-auth--ask-authorization-code () +(defun mastodon-auth--request-authorization-code () "Ask authorization code and return it." (let ((url (mastodon-auth--get-browser-login-url)) authorization-code) @@ -96,7 +96,7 @@ if you are happy with unencryped storage use e.g. \"~/authinfo\"." (defun mastodon-auth--generate-token () "Generate access_token for the user. Return response buffer." - (let ((authorization-code (mastodon-auth--ask-authorization-code))) + (let ((authorization-code (mastodon-auth--request-authorization-code))) (mastodon-http--post (concat mastodon-instance-url "/oauth/token") `(("grant_type" . "authorization_code") |