mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -7,8 +7,8 @@ export const load = (async ({ locals, parent, params }) => {
|
||||
throw redirect(302, '/auth/login');
|
||||
}
|
||||
|
||||
const { data: person } = await locals.api.personApi.getPerson(params.personId);
|
||||
const { data: assets } = await locals.api.personApi.getPersonAssets(params.personId);
|
||||
const { data: person } = await locals.api.personApi.getPerson({ id: params.personId });
|
||||
const { data: assets } = await locals.api.personApi.getPersonAssets({ id: params.personId });
|
||||
|
||||
return {
|
||||
user,
|
||||
|
||||
Reference in New Issue
Block a user