We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88076ca commit d9bb98fCopy full SHA for d9bb98f
src/core/card.ts
@@ -47,7 +47,7 @@ export class Generator {
47
48
protected async fetch(username: string, site: "us" | "cn"): Promise<FetchedData> {
49
this.log("fetching", username, site);
50
- const cache_key = `data-${username}-${site}`;
+ const cache_key = `data-${username.toLowerCase()}-${site.toLowerCase()}`;
51
52
const cached: FetchedData | null = await this.cache.get(cache_key);
53
if (cached) {
0 commit comments