mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 07:38:24 +01:00
bwa
This commit is contained in:
parent
1b2e86f5f8
commit
cd27910117
1 changed files with 3 additions and 1 deletions
|
@ -262,10 +262,12 @@ const streamUrl = ChannelTabs.streams ? `${apiUrl}${ID}/${atob(ChannelTabs.strea
|
|||
const communityUrl = ChannelTabs.community ? `${apiUrl}${atob(ChannelTabs.community)}/${ID}/?hl=en-US` : null;
|
||||
const PlaylistUrl = ChannelTabs.playlist ? `${apiUrl}${atob(ChannelTabs.playlist)}/${ID}/?hl=en-US` : null;
|
||||
|
||||
|
||||
const fetchData = async (url) => {
|
||||
return url ? getChannelData(url) : null;
|
||||
return url ? getChannelData(url) : "";
|
||||
};
|
||||
|
||||
|
||||
var [tj, shorts, playlist, stream, c] = await Promise.all([
|
||||
fetchData(channelUrl),
|
||||
fetchData(shortsUrl),
|
||||
|
|
Loading…
Reference in a new issue