Skip to content

Commit

Permalink
Merge pull request #756 from companieshouse/chore/roe-2732/remove-deb…
Browse files Browse the repository at this point in the history
…uggers

chore/roe-2732: remove debuggers
  • Loading branch information
mwejuli-ch authored Feb 25, 2025
2 parents 1c97aad + 09defbe commit e764219
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/services/overseas-entities/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default class OverseasEntityService {
const URL = `transactions/${transactionId}/overseas-entity/${overseasEntityId}${(forceFetch ? "?force=true" : "")}`
const response: HttpResponse = await this.client.httpGet(URL);

console.log(`getOverseasEntity forceFetch value: ${forceFetch}`);
console.log(`getOverseasEntity URL: ${URL}`);

if (response.error) {
return {
httpStatusCode: response.status,
Expand Down Expand Up @@ -89,9 +86,6 @@ export default class OverseasEntityService {

public async putOverseasEntity (transactionId: string, overseasEntityId: string, body: OverseasEntity, forceUpdate: boolean = false): Promise<Resource<HttpStatusCode> | ApiErrorResponse> {
const URL = `transactions/${transactionId}/overseas-entity/${overseasEntityId}${(forceUpdate ? "?force=true" : "")}`

console.log(`putOverseasEntity forceUpdate value: ${forceUpdate}`);
console.log(`putOverseasEntity URL: ${URL}`);
const resp = await this.client.httpPut(URL, mapOverseasEntity(body));

if (resp.error) {
Expand Down

0 comments on commit e764219

Please sign in to comment.