Fix single sticker stickerpack download
This commit is contained in:
parent
85989fda3c
commit
140d19beb1
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ export async function downloadEphemeralPack(
|
||||||
});
|
});
|
||||||
|
|
||||||
const successfulStickerCount = jobResults.filter(item => item).length;
|
const successfulStickerCount = jobResults.filter(item => item).length;
|
||||||
if (successfulStickerCount === 0) {
|
if (successfulStickerCount === 0 && nonCoverStickers.length !== 0) {
|
||||||
throw new Error('downloadEphemeralPack: All stickers failed to download');
|
throw new Error('downloadEphemeralPack: All stickers failed to download');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in a new issue