summaryrefslogtreecommitdiff
path: root/src/lib/activitypub/templates.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/activitypub/templates.ts')
-rw-r--r--src/lib/activitypub/templates.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/activitypub/templates.ts b/src/lib/activitypub/templates.ts
index cab9ada..d0c8cc2 100644
--- a/src/lib/activitypub/templates.ts
+++ b/src/lib/activitypub/templates.ts
@@ -8,7 +8,7 @@ export const successfulRSVPResponse = ({
fullAttendee,
}: {
event: IEvent;
- newAttendee: { id: string; name: string };
+ newAttendee: { id?: string; name: string };
fullAttendee: { _id: string };
}) =>
`<span class="h-card"><a href="${newAttendee.id}" class="u-url mention">@<span>${newAttendee.name}</span></a></span> Thanks for RSVPing! You can remove yourself from the RSVP list by clicking <a href="https://${config.general.domain}/oneclickunattendevent/${event.id}/${fullAttendee._id}">here</a>.`;