diff --git a/restapi/api.ts b/restapi/api.ts index 4ca0297..1a5cfa0 100644 --- a/restapi/api.ts +++ b/restapi/api.ts @@ -13,8 +13,8 @@ const api:Router = express.Router() api.get( "/test", - async (req: Request, res: Response): Promise => { - return res.status(200).json(); + (req: Request, res: Response): void => { + res.status(200).json(); } );