mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-26 18:55:44 +02:00
format files
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user