Use proper camera-to-key utility
This commit is contained in:
parent
186752c177
commit
20590f6c29
2
src/cache/index.ts
vendored
2
src/cache/index.ts
vendored
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user