Files
MediaManager-maxdorninger/web/src/routes/dashboard/movies/requests/+page.ts
maxDorninger e4b8596468 format files
2025-08-30 21:53:00 +02:00

11 lines
247 B
TypeScript

import type { PageLoad } from './$types';
import client from '$lib/api';
export const load: PageLoad = async ({ fetch }) => {
const { data } = await client.GET('/api/v1/movies/requests', { fetch: fetch });
return {
requestsData: data
};
};