add payment route + additional starting blocks

This commit is contained in:
2023-07-24 22:57:12 +02:00
parent 9d60ff8c15
commit ffea1c5637
11 changed files with 215 additions and 2 deletions
@@ -0,0 +1,11 @@
import type { PageServerLoad } from "./$types";
export async function load({ fetch }) {
const res = await fetch(`/api/payments/payees`, {method: "GET",
headers: {
credentials: "include"
}
});
const item = await res.json();
return { ...item};
};