add payment route + additional starting blocks
This commit is contained in:
@@ -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};
|
||||
};
|
||||
Reference in New Issue
Block a user