mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 12:09:15 +00:00
fix(adapter): 🚀 venom update - cli - qr iamge
This commit is contained in:
@@ -11,7 +11,7 @@ const cleanNumber = (number, full = false) => {
|
||||
}
|
||||
|
||||
const generateImage = (base64) => {
|
||||
let qr_svg = qr.image(base64, { type: 'svg', margin: 4 })
|
||||
let qr_svg = qr.image(base64, { type: 'png', margin: 4 })
|
||||
qr_svg.pipe(createWriteStream(`${process.cwd()}/qr.svg`))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user