import { getTC } from "$lib/domains/ticket/domain/controller";
import type { PageServerLoad } from "./$types";

export const load: PageServerLoad = async ({ params }) => {
	return await getTC().getTicketById(Number(params.tid ?? "-1"));
};
