added markdown notes for events

This commit is contained in:
2025-06-29 10:07:01 -04:00
parent 28efa115ad
commit c7c121e23d
13 changed files with 174 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ export const mutations = {
async updateEvent(
eventId: string,
data: Partial<{ name: string; date: string; location: string }>
data: Partial<{ name: string; date: string; location: string; notes?: string; }>
) {
const { date, ...rest } = data;
@@ -74,8 +74,8 @@ export const mutations = {
const event = await prisma.event.update({
where: { id: eventId },
data: {
...rest,
...(parsedDate ? { date: parsedDate } : {}),
...rest,
...(parsedDate ? { date: parsedDate } : {}),
},
});