Skip to content

Commit 6564c16

Browse files
authored
Update chatwoot.service.ts
1 parent 253c724 commit 6564c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,7 @@ export class ChatwootService {
21012101
const fileData = Buffer.from(imgBuffer.data, 'binary');
21022102

21032103
const img = await Jimp.read(fileData);
2104-
await img.cover(320, 180);
2104+
img.cover({ w: 320, h: 180 });
21052105

21062106
const processedBuffer = await img.getBuffer(JimpMime.png);
21072107

0 commit comments

Comments
 (0)