import { getProductUseCases } from "$lib/domains/product/usecases";
import type { PageServerLoad } from "./$types";

export const load: PageServerLoad = async ({ params }) => {
	const plid = params.plid;
	return await getProductUseCases().getProductByLinkId(plid);
};
