fix(api): do not import sharp as a namespace
This commit is contained in:
parent
6c4e62b3d0
commit
8a042ec028
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user