From ec3126be9c344722a6060cfa91ea6788a8f28e57 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Thu, 1 Feb 2024 18:39:52 -0800 Subject: [PATCH] Fixes that last one --- src/documents/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/documents/views.py b/src/documents/views.py index dfde03d79..c398f1f9e 100644 --- a/src/documents/views.py +++ b/src/documents/views.py @@ -524,8 +524,8 @@ class DocumentViewSet( # Cache the suggestions and the classifier hash for later if classifier is not None: cache.set( - (doc_key, classifier.last_auto_type_hash.decode()), - resp_data, + doc_key, + (classifier.last_auto_type_hash.decode(), resp_data), CACHE_5_MINUTES, )