Replace variable names.

This commit is contained in:
James Cole
2024-04-01 20:26:02 +02:00
parent f6e28dc88f
commit 6189d24b98
13 changed files with 52 additions and 49 deletions

View File

@@ -19,9 +19,11 @@
*/
import {format} from "date-fns";
import store from "store";
function getCacheKey(string, start, end) {
const cacheKey = format(start, 'y-MM-dd') + '_' + format(end, 'y-MM-dd') + '_' + string;
const localValue = store.get('lastActivity');
const cacheKey = format(start, 'y-MM-dd') + '_' + format(end, 'y-MM-dd') + '_' + string + localValue;
console.log('getCacheKey: ' + cacheKey);
return String(cacheKey);
}