feat: add edit events functionality

This commit is contained in:
Levente Orban
2025-09-02 10:44:37 +02:00
parent bd9796a8d1
commit e20018735e
8 changed files with 510 additions and 47 deletions

View File

@@ -2,6 +2,7 @@ import { database } from '$lib/database/db';
import { events } from '$lib/database/schema';
import { fail } from '@sveltejs/kit';
import { eq, desc } from 'drizzle-orm';
import type { Actions } from './$types';
export const load = async ({ cookies }) => {
const userId = cookies.get('cactoideUserId');