From 20590f6c29b938af97f88a523faf4c33c41ba924 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 18 Nov 2023 11:10:19 -0600 Subject: [PATCH] Use proper camera-to-key utility --- src/cache/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache/index.ts b/src/cache/index.ts index 042554df..9776b78e 100644 --- a/src/cache/index.ts +++ b/src/cache/index.ts @@ -62,7 +62,7 @@ const getPhotosCacheKeyForOption = ( // Complex keys case 'camera': { const value = options[option]; - return value ? `${option}-${value.make}-${value.model}` : null; + return value ? `${option}-${createCameraKey(value)}` : null; } } };