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