Skip to content

Commit affa06f

Browse files
committed
Add optional body to event
1 parent 87b3d5e commit affa06f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/event.janet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### ————————————————————————————————————————————————————————————————————————————————————————————————
22
### This module implements event entity and related functions.
33

4-
(defn build-event [title]
5-
{:title title})
4+
(defn build-event [title &opt body]
5+
{:title title :body body})

0 commit comments

Comments
 (0)