Moved to new united api
This commit is contained in:
@ -2,7 +2,7 @@ import { error } from '@sveltejs/kit';
|
||||
import { getAccount, getTransactions, getBudgets, getBudgetTransactionsForAccount } from '$lib/db';
|
||||
|
||||
/** @type {import('./$types').PageServerLoad} */
|
||||
export async function load({ params }) {
|
||||
export async function load({ params, depends }) {
|
||||
const slug = params.slug;
|
||||
const transactions = await getTransactions(slug);
|
||||
const account = await getAccount(slug);
|
||||
|
||||
Reference in New Issue
Block a user