mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:13:24 +02:00
11 lines
247 B
TypeScript
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
|
|
};
|
|
};
|