Spaces:
Running
Running
test
Browse files
src/routes/models/[userId]/[slug]/+page.server.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { error } from '@sveltejs/kit';
|
|
| 3 |
/** @type {import('./$types').PageLoad} */
|
| 4 |
export async function load({ params, fetch }) {
|
| 5 |
const { userId, slug } = params;
|
| 6 |
-
|
| 7 |
const model_request = await fetch(`/api/models/${userId + "@" + slug}?full=true&metadata=true`, {
|
| 8 |
method: "GET",
|
| 9 |
headers: {
|
|
|
|
| 3 |
/** @type {import('./$types').PageLoad} */
|
| 4 |
export async function load({ params, fetch }) {
|
| 5 |
const { userId, slug } = params;
|
|
|
|
| 6 |
const model_request = await fetch(`/api/models/${userId + "@" + slug}?full=true&metadata=true`, {
|
| 7 |
method: "GET",
|
| 8 |
headers: {
|