Skip to content

Commit d556a41

Browse files
committed
Rename explanation JSON to body
1 parent e3fc70c commit d556a41

File tree

1 file changed

+2
-2
lines changed
  • aries_cloudcontroller/controllers

1 file changed

+2
-2
lines changed

aries_cloudcontroller/controllers/proof.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ async def get_presentation_credentials(
8181

8282
# Send a problem report for presentation exchange
8383
async def send_problem_report(self, pres_ex_id, explanation: str):
84-
explanation_request = {"explain_ltxt": explanation}
84+
body = {"explain_ltxt": explanation}
8585
return await self.admin_POST(
8686
f"{self.base_url}/records/{pres_ex_id}/problem-report",
87-
json_data=explanation_request,
87+
json_data=body,
8888
)
8989

9090
# Sends a proof presentation

0 commit comments

Comments
 (0)