We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf0c0e commit 9ce0df8Copy full SHA for 9ce0df8
apps/backend-mock/api/system/dept/.post.ts
@@ -1,3 +1,4 @@
1
+import { eventHandler } from 'h3';
2
import { verifyAccessToken } from '~/utils/jwt-utils';
3
import {
4
sleep,
@@ -13,6 +14,3 @@ export default eventHandler(async (event) => {
13
14
await sleep(600);
15
return useResponseSuccess(null);
16
});
-function eventHandler(_: (event: any) => Promise<any>) {
17
- throw new Error('Function not implemented.');
18
-}
0 commit comments