generated from UK-Export-Finance/nestjs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(DTFS2-7203): fix bug where /companies returns 500 for companies w/o SIC codes #932
Merged
abhi-markan
merged 2 commits into
main
from
fix/DTFS2-7203/companies-house-endpoint-returns-500-for-companies-without-sic-codes
Jun 11, 2024
Merged
fix(DTFS2-7203): fix bug where /companies returns 500 for companies w/o SIC codes #932
abhi-markan
merged 2 commits into
main
from
fix/DTFS2-7203/companies-house-endpoint-returns-500-for-companies-without-sic-codes
Jun 11, 2024
Conversation
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
oscar-richardson-softwire
temporarily deployed
to
qa
June 10, 2024 17:27
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 10, 2024 17:27
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 10, 2024 17:27
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 10, 2024 17:27
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 10, 2024 17:27
— with
GitHub Actions
Inactive
abhi-markan
previously approved these changes
Jun 10, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
oscar-richardson-softwire
force-pushed
the
fix/DTFS2-7203/companies-house-endpoint-returns-500-for-companies-without-sic-codes
branch
from
June 11, 2024 08:49
dbb4c80
to
4eb88c5
Compare
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 08:50
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 08:50
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 08:50
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 08:50
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 08:50
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 09:06
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 09:06
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 09:06
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 09:06
— with
GitHub Actions
Inactive
oscar-richardson-softwire
temporarily deployed
to
qa
June 11, 2024 09:06
— with
GitHub Actions
Inactive
Quality Gate passedIssues Measures |
abhi-markan
approved these changes
Jun 11, 2024
abhi-markan
deleted the
fix/DTFS2-7203/companies-house-endpoint-returns-500-for-companies-without-sic-codes
branch
June 11, 2024 10:11
abhi-markan
added a commit
that referenced
this pull request
Jun 12, 2024
🤖 I have created a release *beep* *boop* --- ## [1.21.2](v1.21.1...v1.21.2) (2024-06-12) ### Bug Fixes * **DTFS2-7203:** fix bug where /companies returns 500 for companies w/o SIC codes ([#932](#932)) ([d397861](d397861)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction ✏️
As part of https://ukef-dtfs.atlassian.net/browse/DTFS2-7051, we created a new APIM endpoint for returning details from Companies House. During local dev, it was noticed that this new endpoint was returning 500 responses for companies without SIC codes, such as https://find-and-update.company-information.service.gov.uk/company/SL00911A.
Resolution ✔️
?
guard when callingforEach
on propertyMiscellaneous ➕
?
guard for other properties