remove console.log

This commit is contained in:
kaatt
2022-12-21 17:47:44 +05:30
committed by Adhiraj Singh
parent 02e05aba42
commit 004bb98b59

View File

@@ -733,7 +733,6 @@ export const downloadMediaMessage = async(
const contentType = getContentType(mContent)
let mediaType = contentType?.replace('Message', '') as MediaType
const media = mContent[contentType!]
console.log({ mContent, contentType, media })
if(!media || typeof media !== 'object' || (!('url' in media) && !('thumbnailDirectPath' in media))) {
throw new Boom(`"${contentType}" message is not a media message`)