From 88b181ade43211d7d391cc3e1680070d03954cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 26 Apr 2020 21:56:23 +0200 Subject: Ical output more modular. --- module/entry-points/server.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/entry-points') diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm index 55bfc770..8553da50 100644 --- a/module/entry-points/server.scm +++ b/module/entry-points/server.scm @@ -91,7 +91,9 @@ (find (lambda (ev) (equal? uid (attr ev 'UID))) repeating)) (return '((content-type text/calendar)) - (with-output-to-string (lambda () ((@ (output ical) component->ical-string) it)))) + (with-output-to-string + (lambda () ((@ (output ical) print-components-with-fake-parent) + (list it))))) (return (build-response code: 404) (format #f "No component with UID=~a found." uid)))) -- cgit v1.2.3