refactor: remove unnecessary force_primary parameter in AnimeMapper queries

- Eliminated the 'force_primary' parameter from database fetch calls in the AnimeMapper class to streamline query execution.
- This change enhances code clarity and maintains consistency with recent refactoring efforts.
This commit is contained in:
g0ldyy
2025-12-10 19:25:01 +01:00
parent 268e5317c8
commit 6578a685cb
-2
View File
@@ -63,7 +63,6 @@ class AnimeMapper:
try:
rows = await database.fetch_all(
"SELECT kitsu_id, imdb_id FROM anime_mapping_cache",
force_primary=True,
)
if not rows:
@@ -90,7 +89,6 @@ class AnimeMapper:
row = await database.fetch_one(
"SELECT refreshed_at FROM anime_mapping_state WHERE id = 1",
force_primary=True,
)
if not row: