From 6578a685cba12d518805670db458e6991ab00dd0 Mon Sep 17 00:00:00 2001 From: g0ldyy <153996346+g0ldyy@users.noreply.github.com> Date: Wed, 10 Dec 2025 19:25:01 +0100 Subject: [PATCH] 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. --- comet/services/anime.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/comet/services/anime.py b/comet/services/anime.py index 87f1fde..f3bd8e6 100644 --- a/comet/services/anime.py +++ b/comet/services/anime.py @@ -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: