From b2d4000b2d5b7326dbab9a337b0a469e7b4f478f Mon Sep 17 00:00:00 2001 From: softsimon Date: Sat, 29 Jul 2023 16:34:47 +0900 Subject: [PATCH] Update backend/src/api/prices/prices.routes.ts --- backend/src/api/prices/prices.routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/prices/prices.routes.ts b/backend/src/api/prices/prices.routes.ts index 03951ec05..c6a643dd8 100644 --- a/backend/src/api/prices/prices.routes.ts +++ b/backend/src/api/prices/prices.routes.ts @@ -7,7 +7,7 @@ class PricesRoutes { app.get(config.MEMPOOL.API_URL_PREFIX + 'prices', this.$getCurrentPrices.bind(this)); } - private async $getCurrentPrices(req: Request, res: Response): Promise { + private $getCurrentPrices(req: Request, res: Response): void { res.header('Pragma', 'public'); res.header('Cache-control', 'public'); res.setHeader('Expires', new Date(Date.now() + 1000 * 300).toUTCString());