From aec5dfbf0ecf0a0c734bc2d1fe09de81693f619e Mon Sep 17 00:00:00 2001 From: lduranteau Date: Wed, 18 Dec 2024 16:48:16 +0000 Subject: [PATCH] fix : lp-317 - remove redundant await - sq --- src/application/CacheService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application/CacheService.ts b/src/application/CacheService.ts index 65e2db0..e2fe5cd 100644 --- a/src/application/CacheService.ts +++ b/src/application/CacheService.ts @@ -9,8 +9,8 @@ class CacheService { this.cacheRepository = cacheRepository; } - async getDataFromCache(session: Session): Promise> { - return await this.cacheRepository.getData(session); + getDataFromCache(session: Session): Promise> { + return this.cacheRepository.getData(session); } async addDataToCache(