Fix lints
All checks were successful
/ Misc Linters (push) Successful in 23s
/ Build App (push) Successful in 52s

This commit is contained in:
Valentin Brandl 2024-08-17 15:54:33 +02:00
parent cfb5564830
commit 6ab52c1830
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ export async function handle({ event, resolve }) {
? { requestId: reqIdFromRequest, fromRequest: true }
: { requestId: uuidv7(), fromRequest: false };
var context = {
const context = {
requestId,
route: event.route.id,
method: event.request.method,

View File

@ -13,7 +13,7 @@ const mkdirIfNotExists = (path: string) => {
export const actions = {
default: async ({ request, locals }: RequestEvent) => {
var context: any = { requestId: locals.requestId };
let context: { [key: string]: string | string[] } = { requestId: locals.requestId };
const data = await request.formData();
const formFiles = data.getAll('files');