mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-01 03:29:33 +00:00
Method should not be async
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
|
||||
import {format} from "date-fns";
|
||||
|
||||
async function getCacheKey(string, start, end) {
|
||||
function getCacheKey(string, start, end) {
|
||||
const cacheKey = format(start, 'y-MM-dd') + '_' + format(end, 'y-MM-dd') + '_' + string;
|
||||
console.log('getCacheKey: ' + cacheKey);
|
||||
return cacheKey;
|
||||
return String(cacheKey);
|
||||
}
|
||||
|
||||
export {getCacheKey};
|
||||
|
||||
Reference in New Issue
Block a user