Skip to content
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(company-house): company house API response #967

Merged
merged 10 commits into from
Jul 31, 2024

Conversation

abhi-markan
Copy link
Contributor

@abhi-markan abhi-markan commented Jul 30, 2024

Introduction ✏️

Company house no longer returns expected body (below) for a non-existent company with an 8 digit CRN.

{
    "errors": [
        {
            "type": "ch:service",
            "error": "company-profile-not-found"
        }
    ]
}

Resolution ✔️

  • Updated non-existent company house to CRN to a 7 digit, which still returns the expected body for a 404 response.
  • Refactored createWrapCompaniesHouseHttpGetErrorCallback.
  • Introduced two additional help functions.
  • Updated test cases.

Miscellaneous ➕

  • Dependencies updates
  • Updated snapshot.

@abhi-markan abhi-markan changed the title Fix/company house response fix(company-house): Company house API response Jul 30, 2024
@abhi-markan abhi-markan changed the title fix(company-house): Company house API response fix(company-house): company house API response Jul 30, 2024
Copy link

sonarcloud bot commented Jul 31, 2024

Copy link
Contributor

@avaitonis avaitonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abhi-markan abhi-markan merged commit c9234b8 into main Jul 31, 2024
17 checks passed
@abhi-markan abhi-markan deleted the fix/company-house-response branch July 31, 2024 09:37
abhi-markan added a commit that referenced this pull request Jul 31, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.21.4](v1.21.3...v1.21.4)
(2024-07-31)


### Bug Fixes

* **company-house:** company house API response
([#967](#967))
([c9234b8](c9234b8))
* **deps:** update dependency mssql to v11
([#954](#954))
([8942563](8942563))

---
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants