mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
Update chatwoot.service.ts
This commit is contained in:
parent
253c724a1c
commit
6564c16244
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user