From f9d701ec3bfb5bb33db86d59282edbde9e387578 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Thu, 5 Jan 2023 22:17:10 +0100 Subject: [PATCH] Fix --- src/app/services/cache_updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/cache_updater.py b/src/app/services/cache_updater.py index a14cbe3..5c0edc6 100644 --- a/src/app/services/cache_updater.py +++ b/src/app/services/cache_updater.py @@ -138,7 +138,7 @@ async def cache_file_by_book_id( try: try: async with lock: - result = await cache_file(book, file_type, by_request) + result = await cache_file(book, file_type) if by_request: return result