Skip to content

Commit 91685ab

Browse files
committed
chore: allow more attachment file types
1 parent 3b77ca6 commit 91685ab

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chatwoot/utils",
3-
"version": "0.0.52",
3+
"version": "0.0.53",
44
"description": "Chatwoot utils",
55
"private": false,
66
"license": "MIT",

src/fileUploadRules.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@ const CHANNEL_CONFIGS: ChannelConfigs = {
110110
'vnd.openxmlformats-officedocument.presentationml.presentation',
111111
'vnd.openxmlformats-officedocument.spreadsheetml.sheet',
112112
'vnd.openxmlformats-officedocument.wordprocessingml.document',
113+
'x-pkcs12',
114+
'pkcs12',
113115
],
114116
},
115-
extensions: ['.3gpp'],
117+
extensions: ['.3gpp', '.xls', '.xlsx', '.pfx'],
116118
max: 40,
117119
},
118120

0 commit comments

Comments
 (0)