Skip to content

Commit 583deb9

Browse files
committed
fix: await in try
1 parent 154b3d5 commit 583deb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
return errorResponse(404, 'config not found');
6464
}
6565

66-
return handlers[config.route](ctx, config, request);
66+
return await handlers[config.route](ctx, config, request);
6767
} catch (e) {
6868
if (e.response) {
6969
return e.response;

0 commit comments

Comments
 (0)