From 3455dc3855e35fd42c866fc6374a5441ebf8936f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 11 May 2026 12:10:12 +0100 Subject: [PATCH] fix: Update field reference from series__pk to series__id in check_images_hashes function --- atlas/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/api.py b/atlas/api.py index 6a10373b..77e4e693 100644 --- a/atlas/api.py +++ b/atlas/api.py @@ -599,7 +599,7 @@ def check_images_hashes(request, hashes: List[str]): series_images = ( SeriesImage.objects.filter(image_blake3_hash__in=hashes) .select_related("series") - .only("pk", "image_blake3_hash", "series__slug", "series__pk") + .only("pk", "image_blake3_hash", "series__slug", "series__id") ) matched_hashes: set = set() for si in series_images: