mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 09:13:23 +03:00
Fix attachment duplication on add
This commit is contained in:
@@ -11,6 +11,10 @@ module.exports = {
|
||||
regex: /^[0-9]+$/,
|
||||
required: true,
|
||||
},
|
||||
requestId: {
|
||||
type: 'string',
|
||||
isNotEmptyString: true,
|
||||
},
|
||||
},
|
||||
|
||||
exits: {
|
||||
@@ -58,6 +62,7 @@ module.exports = {
|
||||
isImage: file.extra.isImage,
|
||||
name: file.filename,
|
||||
},
|
||||
inputs.requestId,
|
||||
this.req,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user