Fix typo
This commit is contained in:
parent
9d4bab5a20
commit
c72317202f
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
;; ToDo: update to parse headers as well
|
;; ToDo: update to parse headers as well
|
||||||
(defun mattermost-request (method url &optional body)
|
(defun mattermost-request (method url &optional body)
|
||||||
"Builds a mattemrost request and returns the JSON response"
|
"Builds a Mattermost request and returns the JSON response"
|
||||||
(let ((url-request-method method)
|
(let ((url-request-method method)
|
||||||
(url-request-extra-headers `(("Content-Type" . "application/json")))
|
(url-request-extra-headers `(("Content-Type" . "application/json")))
|
||||||
(url-request-data (if body (json-serialize body))))
|
(url-request-data (if body (json-serialize body))))
|
||||||
|
|
Loading…
Reference in a new issue