Skip to content

Commit

Permalink
add json import
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Ciminieri committed Sep 18, 2024
1 parent 7728337 commit 4d4dbb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/api/gruppi/+server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { client } from '$lib/sanityClient';
import { getGruppi } from '$lib/sanityQueries';
import { error, json } from '@sveltejs/kit';

export const prerender = true;
export async function GET({ params, setHeaders, fetch }) {
Expand Down

0 comments on commit 4d4dbb9

Please sign in to comment.