Fix sticker-creator uploads

This commit is contained in:
Fedor Indutny 2021-05-25 12:08:08 -07:00 committed by GitHub
parent 07c1505782
commit 3a6c9aa314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,7 +239,7 @@ window.encryptAndUpload = async (
);
const encryptedStickers = await pMap(
uniqueStickers,
({ imageData }) => encrypt(imageData, encryptionKey, iv),
({ imageData }) => encrypt(imageData.buffer, encryptionKey, iv),
{
concurrency: 3,
timeout: 1000 * 60 * 2,