diff --git a/src/main.lisp b/src/main.lisp index b922e4e..738d3e0 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -490,8 +490,9 @@ with the image attached" (log:info data) ;; This is extremely necessary so that cors is right (setf (tbnl:header-out :access-control-expose-headers) "*") - (post-camp-data data) - (mail-camp-form data nil) + (if data + (post-camp-data data) + (mail-camp-form data nil)) (if (string= health "later") (progn (uiop:println "Selected health later") (cond ((string= registration "now")