format files

This commit is contained in:
maxDorninger
2025-08-30 21:53:00 +02:00
parent 18c0b38c8d
commit e4b8596468
31 changed files with 2055 additions and 2114 deletions

View File

@@ -1,10 +1,8 @@
import { env } from '$env/dynamic/public';
import type { LayoutLoad } from './$types';
import client from "$lib/api";
import client from '$lib/api';
const apiUrl = env.PUBLIC_API_URL;
export const load: LayoutLoad = async ({ fetch }) => {
const { data, error } = await client.GET('/api/v1/tv/seasons/requests', { fetch: fetch });
const { data } = await client.GET('/api/v1/tv/seasons/requests', { fetch: fetch });
return {
requestsData: data
};