From 7882a6ef8c06521ac0f8bf8cc3018349ba411f09 Mon Sep 17 00:00:00 2001 From: obarykina Date: Wed, 27 Mar 2024 17:22:07 +0300 Subject: [PATCH] apps\api\src\proxy: fix controller --- apps/api/src/proxy/proxy.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/proxy/proxy.controller.ts b/apps/api/src/proxy/proxy.controller.ts index 41f902e..44c9289 100644 --- a/apps/api/src/proxy/proxy.controller.ts +++ b/apps/api/src/proxy/proxy.controller.ts @@ -133,7 +133,7 @@ export class ProxyController { @Res() reply: FastifyReply, ) { try { - const value = this.cacheManager.get(queryKey); + const value = await this.cacheManager.get(queryKey); return reply.send(value); } catch (error) {