Skip to content

Commit

Permalink
[PAGOPA-959] fix: Remove useless call
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Aug 24, 2023
1 parent 73e1982 commit bf581d7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ async function generateAndPayDebtPosition(bundle) {
response = await sendPaymentOutcome(buildSendPaymentOutcomeRequest(bundle));
debugLog(`Payment outcome sending API invocation returned HTTP status code: ${response.status} with body: ${JSON. stringify(response.data)}`);
assert.match(response.data, /<outcome>OK<\/outcome>/);

response = await payDebtPosition(bundle.creditorInstitution.id, bundle.debtPosition.paymentOption[0].iuv, buildPayRequest(bundle));
debugLog(`Debt position payment sending API invocation returned HTTP status code: ${response.status} with body: ${JSON. stringify(response.data)}`);
assert([200, 409].includes(response.status));

/*
response = await sendRT(buildSendRTRequest(bundle));
Expand Down

0 comments on commit bf581d7

Please sign in to comment.