mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Matrix Node): Allow setting filename if the binary data has none (#6536)
This commit is contained in:
@@ -81,8 +81,30 @@ export const mediaFields: INodeProperties[] = [
|
||||
description: 'Image media type',
|
||||
},
|
||||
],
|
||||
description: 'Name of the uploaded file',
|
||||
description: 'Type of file being uploaded',
|
||||
placeholder: 'mxc://matrix.org/uploaded-media-uri',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
name: 'additionalFields',
|
||||
type: 'collection',
|
||||
placeholder: 'Add Field',
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['media'],
|
||||
operation: ['upload'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'File Name',
|
||||
name: 'fileName',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the file being uploaded',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user