Structure coming along

This commit is contained in:
Casey Timm
2025-07-05 10:07:47 -04:00
parent 7900ecaaf8
commit 824a23765e
15 changed files with 1115 additions and 67 deletions

View File

@ -0,0 +1,13 @@
import { error } from '@sveltejs/kit';
import { getTransactions } from '$lib/db';
/** @type {import('./$types').PageServerLoad} */
export async function load({ params }) {
const transactions = await getTransactions(params.slug);
if (transactions) {
return {transactions};
}
error(404, 'Not found');
}