server fix: import eventHandler
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { eventHandler } from 'h3'
|
||||
|
||||
export default eventHandler(async (event) => {
|
||||
const id = event.context.params?.id || ''
|
||||
|
||||
Reference in New Issue
Block a user