generated from UK-Export-Finance/nestjs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(APIM-611): notify, companies house bug fixes (#1113)
## Introduction ✏️ This PR aims to mitigate following bugs: * Large payload entity too large exception (413) thrown when sending `file` with Base64 buffer when invoking GovNotify endpoint. * Company house response, where `due_on` property doest not exist for certain companies. ## Resolution ✔️ * Increased `json` and `urlEncoded` payload size to `2MB`. * Added optional chain to few `nextAccounts` and `accounts` object properties. ## Miscellaneous ➕ * Dependencies updates. * Minor documentation improvement. * Minor lint fixes. --------- Co-authored-by: Abhi Markan <amarkan>
- Loading branch information
1 parent
8e79a01
commit 2c5b84a
Showing
8 changed files
with
107 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,9 @@ export const GOVUK_NOTIFY = { | |
TRANSACTION_ID: 36, | ||
SERVICE_ID: 36, | ||
}, | ||
FILE: { | ||
SIZE: { | ||
MAX: '2mb', | ||
}, | ||
}, | ||
}; |
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
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