Update dependencies, fix (auto)import problems

This commit is contained in:
Wroclaw 2023-11-06 02:57:00 +01:00
parent 267a83d484
commit 1d893c4a78
40 changed files with 5166 additions and 3047 deletions

View file

@ -1,8 +1,9 @@
/* global getCookie, createError */
import { H3Event } from "h3";
import { getCookie, H3Event } from "h3";
import { database, data } from "./database";
import { user } from "~/utils/types/database";
import { database, type data } from "./database";
import { type user } from "~/utils/types/database";
import { createError } from "#imports";
export default async function getRequestingUser(e: H3Event) {
const cookie = getCookie(e, "token");