1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 21:29:43 +02:00

Fix attachment duplication on add

This commit is contained in:
Maksim Eltyshev 2020-04-23 05:56:02 +05:00
parent 3e85371da9
commit ce39b584ca
8 changed files with 36 additions and 7 deletions

View file

@ -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,
);