diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-06 08:55:32 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-06 08:55:32 +0000 |
commit | c0f58b298248ba8682b556389525280c7088e025 (patch) | |
tree | be1a429d1c1f2dc269ec0efb962ae8eacfd7601b /src/routes.js | |
parent | 456de15aea325cec94a6c2c83c01442665670efb (diff) |
Allow setting attendee visibility from UI
Diffstat (limited to 'src/routes.js')
-rwxr-xr-x | src/routes.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routes.js b/src/routes.js index 475f5a0..ab12a3a 100755 --- a/src/routes.js +++ b/src/routes.js @@ -687,6 +687,7 @@ router.post("/attendevent/:eventID", async (req, res) => { "attendees.$.name": req.body.attendeeName, "attendees.$.email": req.body.attendeeEmail, "attendees.$.number": req.body.attendeeNumber, + "attendees.$.visibility": !!req.body.attendeeVisible ? "public" : "private", }, }, ) |