Change ex into EX

This commit is contained in:
2022-07-02 22:33:25 +02:00
parent bc7749e1f4
commit 84ffa98338
2 changed files with 1126 additions and 1152 deletions

View File

@@ -187,7 +187,7 @@ export async function fetchTopTracks(range: Range) {
cached: new Date().toUTCString(), cached: new Date().toUTCString(),
expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(), expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(),
top: tracks, top: tracks,
}), 'ex', 300) }), 'EX', 300)
return tracks return tracks
} }
@@ -222,7 +222,7 @@ export async function fetchTopArtist(range: Range): Promise<SpotifyArtist[] | {
cached: new Date().toUTCString(), cached: new Date().toUTCString(),
expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(), expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(),
top: artists, top: artists,
}), 'ex', 300) }), 'EX', 300)
return artists return artists
} }

2274
yarn.lock

File diff suppressed because it is too large Load Diff