Fixes that last one

This commit is contained in:
Trenton H 2024-02-01 18:39:52 -08:00
parent 8c9bb9b9d5
commit ec3126be9c

View File

@ -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,
)