Skip to content

Commit 5e42ae2

Browse files
authored
Merge pull request #753 from companieshouse/feature/debugging-payment-force-flag
Debugging force flag in the flow- PLEASE REVERT AFTER TESTING
2 parents 9cfc88f + d6db732 commit 5e42ae2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/services/overseas-entities/service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export default class OverseasEntityService {
2828
const URL = `transactions/${transactionId}/overseas-entity/${overseasEntityId}${(forceFetch ? "?force=true" : "")}`
2929
const response: HttpResponse = await this.client.httpGet(URL);
3030

31+
console.log("DDDDDDDDDDD1 getOverseasEntity forceFetch: " + forceFetch);
32+
console.log("DDDDDDDDDDD2 getOverseasEntity URL: " + URL);
3133
if (response.error) {
3234
return {
3335
httpStatusCode: response.status,
@@ -87,6 +89,8 @@ export default class OverseasEntityService {
8789
public async putOverseasEntity (transactionId: string, overseasEntityId: string, body: OverseasEntity, forceUpdate: boolean = false): Promise<Resource<HttpStatusCode> | ApiErrorResponse> {
8890
const URL = `transactions/${transactionId}/overseas-entity/${overseasEntityId}${(forceUpdate ? "?force=true" : "")}`
8991

92+
console.log("DDDDDDDDDDD3 getOverseasEntity forceFetch: " + forceUpdate);
93+
console.log("DDDDDDDDDDD4 getOverseasEntity URL: " + URL);
9094
const resp = await this.client.httpPut(URL, mapOverseasEntity(body));
9195

9296
if (resp.error) {

0 commit comments

Comments
 (0)