mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
hotfix(better)
This commit is contained in:
1 parent
3ea34c7f19
commit
0f3bc0f54d
10 files changed
+156
-6
No files matched your search
@@ -184,6 +184,7 @@ const UserQueriesMixin = {
|
||||
const profileUrl = `https://www.last.fm/user/${encodeURIComponent(user.username)}/playlists`;
|
||||
const res = await fetch(profileUrl, {
|
||||
headers: { "User-Agent": "RemixBot/1.0 (Last.fm Integration)" },
|
||||
signal: AbortSignal.timeout(15_000),
|
||||
});
|
||||
|
||||
if (!res.ok) {
|
||||
@@ -250,6 +251,7 @@ const UserQueriesMixin = {
|
||||
|
||||
const res = await fetch(playlistUrl, {
|
||||
headers: { "User-Agent": "RemixBot/1.0 (Last.fm Integration)" },
|
||||
signal: AbortSignal.timeout(15_000),
|
||||
});
|
||||
|
||||
if (!res.ok) {
|
||||
|
||||
Reference in new issue
Block a user