simplify structure by remove (rezepte)

This commit is contained in:
2024-01-20 16:39:27 +01:00
parent 36e0abb26d
commit c4c72bd8f0
26 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,7 @@
import type { PageLoad } from "./$types";
export async function load({ fetch}) {
const res = await fetch(`/api/rezepte/items/category`);
const categories= await res.json();
return {categories}
};