mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Change cache time
This commit is contained in:
@@ -192,7 +192,7 @@ export async function fetchTopArtist(): Promise<SpotifyArtist[]> {
|
||||
cached: new Date().toUTCString(),
|
||||
expiration: new Date(new Date().setMinutes(new Date().getMinutes() + 5)).toUTCString(),
|
||||
top: artists,
|
||||
}), 'ex', 600)
|
||||
}), 'ex', 300)
|
||||
|
||||
return artists
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user