File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
7
7
## Version 1.2.2
8
8
9
9
### Fixed
10
- App crash issue on update of fields when no attachments are added.
10
+
11
+ - App crash issue on update of fields when no attachments are added.
12
+ - Attachment getting renamed even when duplicate attachment of same name exists.
11
13
12
14
## Version 1.2.1
13
15
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ async isFileNameDuplicateInDrafts(data,req) {
366
366
token
367
367
) ;
368
368
369
- if ( response . status == undefined && response . response . status != 200 ) {
369
+ if ( response . status != 200 ) {
370
370
//modify req.data.attachments
371
371
for ( let i = 0 ; i < req . data . attachments . length ; i ++ ) {
372
372
let attachmentUpdate = req . data . attachments [ i ] ;
You can’t perform that action at this time.
0 commit comments