blob: 0d6016b710036014bdec7e376d76221d1c3a56d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import type { PageServerLoad } from './$types';
import { get_budgets } from '$lib/server/actual';
import sb1 from "$lib/server/sb1"
export const load = (async () => {
return {
actual: {
meta: await get_budgets()
},
sb1: {
accounts: (await sb1.data.get_accounts())?.accounts
}
};
}) satisfies PageServerLoad;
|