fix: 修复mock里面eventHandler重复导致无法启动 (#6631)

pull/201/head^2
gxc685 2025-08-14 22:00:54 +08:00 committed by GitHub
parent 3cf0c0eb04
commit 9ce0df88ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import { eventHandler } from 'h3';
import { verifyAccessToken } from '~/utils/jwt-utils';
import {
sleep,
@ -13,6 +14,3 @@ export default eventHandler(async (event) => {
await sleep(600);
return useResponseSuccess(null);
});
function eventHandler(_: (event: any) => Promise<any>) {
throw new Error('Function not implemented.');
}