summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2022-03-26 11:59:07 -0500
committerColin Okay <okay@toyful.space>2022-03-26 11:59:07 -0500
commitc9ce14c6c73458b53b4ea1c334afda31f5b23ed9 (patch)
tree5094fa5336a546e29937453f1c671e19bb544542
parent6062d8603cf606ac538e1cb952d4108925a7c83c (diff)
[bugfix] wrong cal in generate-defun-for-endpoint
-rw-r--r--lazybones-client.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lazybones-client.lisp b/lazybones-client.lisp
index 955ed6d..027ed2f 100644
--- a/lazybones-client.lisp
+++ b/lazybones-client.lisp
@@ -167,7 +167,8 @@ makes a request to the endpoint EP."
(format nil "~a.lisp" (string-downcase (app-client-package-name app))))
(defun generate-client-functions-for-app (app)
- (mapcar 'generate-defun-for-endpoint (lazybones::app-endpoints app)))
+ (loop for ep in (lazybones::app-endpoints app)
+ collect (generate-defun-for-endpoint app ep)))
(defun generate-client-system (directory app)
(assert (uiop:directory-exists-p directory))