Update chatwoot.service.ts

This commit is contained in:
Jose Sanchis 2025-07-16 11:45:31 +02:00 committed by GitHub
parent 253c724a1c
commit 6564c16244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2101,7 +2101,7 @@ export class ChatwootService {
const fileData = Buffer.from(imgBuffer.data, 'binary');
const img = await Jimp.read(fileData);
await img.cover(320, 180);
img.cover({ w: 320, h: 180 });
const processedBuffer = await img.getBuffer(JimpMime.png);