aboutsummaryrefslogtreecommitdiff
path: root/sx-question.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question.el')
-rw-r--r--sx-question.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question.el b/sx-question.el
index 69a4d7f..d15cc80 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -54,13 +54,13 @@
(defun sx-question-get-question (site id)
"Get the question ID from SITE."
- (let ((res (sx-request-make
+ (let ((res (sx-method-call
(format "questions/%s" id)
`((site . ,site))
sx-question-browse-filter)))
(if (vectorp res)
(elt res 0)
- (error "Couldn't find question %s in %s" id site))))
+ (error "Couldn't find question %S in %S" id site))))
;;; Question Properties