mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-31 11:46:37 +00:00
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
import UserGroupService from '$lib/services/user-group-service';
|
|
import type { PageLoad } from './$types';
|
|
|
|
export const load: PageLoad = async ({ params }) => {
|
|
const userGroupService = new UserGroupService();
|
|
const userGroup = await userGroupService.get(params.id);
|
|
|
|
return { userGroup };
|
|
};
|