mirror of
https://github.com/vale981/ement.el
synced 2025-03-05 09:21:37 -05:00
Fix: (ement-put-account-data) Variable assignment
This commit is contained in:
parent
578a0babad
commit
284d7ff4b2
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ If UNIGNORE-P (interactively, with prefix), un-ignore USER."
|
|||
"Put account data of TYPE with DATA on SESSION.
|
||||
Also handle the echoed-back event."
|
||||
(declare (indent defun))
|
||||
(pcase-let* (((cl-struct ement-session (user (cl-struct ement-user (id user-id)))))
|
||||
(pcase-let* (((cl-struct ement-session (user (cl-struct ement-user (id user-id)))) session)
|
||||
(endpoint (format "user/%s/account_data/%s" (url-hexify-string user-id) type)))
|
||||
(ement-api session endpoint :method 'put :data (json-encode data)
|
||||
:then then)))
|
||||
|
|
Loading…
Add table
Reference in a new issue