Commit 9ce0df88 by gxc685 Committed by GitHub

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

1 parent 3cf0c0eb
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.');
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!