Skip to content

Commit 8b15c11

Browse files
committed
chore: adiciona suporte para extensão de arquivo .tif no envio de documentos
1 parent 272a4de commit 8b15c11

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
@@ -1110,7 +1110,7 @@ export class ChatwootService {
11101110
return messageSent;
11111111
}
11121112

1113-
const documentExtensions = ['.gif', '.svg', '.tiff'];
1113+
const documentExtensions = ['.gif', '.svg', '.tiff', '.tif'];
11141114
if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) {
11151115
type = 'document';
11161116
}

0 commit comments

Comments
 (0)