mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
Fix attachment duplication on add
This commit is contained in:
parent
dc66a93e18
commit
cb2f795ef1
8 changed files with 36 additions and 7 deletions
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue