mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
12 lines
264 B
TypeScript
12 lines
264 B
TypeScript
import UserService from '$lib/services/user-service';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load: PageLoad = async ({ params }) => {
|
|
const userService = new UserService();
|
|
const user = await userService.get(params.id);
|
|
|
|
return {
|
|
user
|
|
};
|
|
};
|