mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Change ex into EX
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user