-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HOTFIX][BE] Fix wrong file downloaded on split PDF (#186)
## What's Fixed: - Add logic to delete previous downloaded file, if previous downloaded filename are same with new generated processed filename. This to prevent BE accidentally return wrong response into FE, when notification service catch actual response. > Ex: BE response 200 with download link, although notification service threw error notification > "Cannot download from iLovePDF API !". Actual condition is BE process is fail, but since logic > for decision process is success or not have another depend to check if processed filename is exist or not, > and in this scenario. User processed the same filename, then that logic will think previous file is the new > file due the same filename. - Add more filter validation on split and watermark to provide "-" characters (Now user can input page: 2-5, not only 2,3,4,5) - Add new params 'usedMethod' that will declare as identifier process, is that split or delete. This will fixed issue sometimes logic can not catch correctly what actual request from FE, since FE are not declare what are the request properly - Bump BE services to 3.3.0
- Loading branch information
Showing
19 changed files
with
492 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.