feat: map all WA media types

This commit is contained in:
Adhiraj Singh
2022-09-15 15:08:49 +05:30
parent b05ce25dfa
commit 3a891e071e
6 changed files with 32 additions and 21 deletions

View File

@@ -239,7 +239,7 @@ export const uploadingNecessaryImages = async(
const { directPath } = await waUploadToServer(
toReadable(Buffer.concat(contentBlocks)),
{
mediaType: 'product-image',
mediaType: 'product-catalog-image',
fileEncSha256B64: sha,
timeoutMs
}