feat: Added feedback feature

This commit is contained in:
Barf-Vader
2025-06-12 01:43:53 +01:00
parent 7c0f9b3f52
commit 5b7f63f63f
3 changed files with 380 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
import { error } from "@sveltejs/kit";
import type { PageServerLoad } from "./$types";
export const load: PageServerLoad = async ({ params, locals: { supabase } }) => {
export const load: PageServerLoad = async ({ depends, params, locals: { supabase } }) => {
depends("db:study_spaces");
const { data: space, error: err } = await supabase
.from("study_spaces")
.select("*, study_space_images(*)")