Skip to content

Commit

Permalink
fix: update cache key format in nextPostJson utility
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki committed Nov 9, 2024
1 parent 5a35202 commit a536220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/nextPostJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const nextPostJsonWithCache = async (
const md5 = new Md5();
md5.appendStr(`${url}\n${bodyJsonString}`);
const hash = md5.end();
const key = `trident-cache_2024-11-09_001_${hash}`;
const key = `trident-cache_2024-11-09_002_${hash}`;
const unixtime = Math.floor(new Date().getTime() / 1000);

const fetchAndCache = async () => {
Expand Down

0 comments on commit a536220

Please sign in to comment.