Skip to content

Commit

Permalink
Merge pull request #157 from carlos-schmidt/fix/data-transfer-to-exte…
Browse files Browse the repository at this point in the history
…nsion

Fix not logging received data to console
  • Loading branch information
carlos-schmidt authored Oct 26, 2024
2 parents fd48f52 + cc4bce2 commit 04aceab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public Response getData(@QueryParam("providerUrl") URL providerUrl,
try {
if (dataAddress == null) {
var tpResult = initiateTransferProcess(providerUrl, agreementId);
return tpResult.succeeded() ? Response.ok().build() :
return tpResult.succeeded() ? Response.ok(tpResult.getContent()).build() :
Response.status(Response.Status.INTERNAL_SERVER_ERROR)
.entity(tpResult.getFailureDetail())
.build();
Expand Down

0 comments on commit 04aceab

Please sign in to comment.