fix(api): do not import sharp as a namespace

This commit is contained in:
parent 6c4e62b3d0
commit 8a042ec028
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -1,7 +1,7 @@
import { v4 } from "uuid";
import { resolve } from "path";
import isLoggedIn from "~/lib/server/middlewareButNotReally/isLoggedIn";
import * as sharp from "sharp";
import sharp from "sharp";
export default eventHandler(async (ev) => {
isLoggedIn(ev);