Skip to content

Commit

Permalink
remove Locals from todos/_api default template
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Feb 2, 2022
1 parent 10406eb commit d5e7d58
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { EndpointOutput, RequestEvent } from '@sveltejs/kit';
import type { Locals } from '$lib/types';

/*
This module is used by the /todos.json and /todos/[uid].json
Expand All @@ -15,7 +14,7 @@ import type { Locals } from '$lib/types';
const base = 'https://api.svelte.dev';

export async function api(
event: RequestEvent<Locals>,
event: RequestEvent,
resource: string,
data?: Record<string, unknown>
): Promise<EndpointOutput> {
Expand Down

0 comments on commit d5e7d58

Please sign in to comment.