File tree 2 files changed +2
-2
lines changed
aries_cloudagent/protocols/issue_credential
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -867,7 +867,7 @@ async def credential_exchange_send_bound_offer(request: web.BaseRequest):
867
867
context : AdminRequestContext = request ["context" ]
868
868
outbound_handler = request ["outbound_message_router" ]
869
869
870
- body = await request .json ()
870
+ body = await request .json () if request . body_exists else {}
871
871
proposal_spec = body .get ("counter_proposal" )
872
872
873
873
credential_exchange_id = request .match_info ["cred_ex_id" ]
Original file line number Diff line number Diff line change @@ -957,7 +957,7 @@ async def credential_exchange_send_bound_offer(request: web.BaseRequest):
957
957
context : AdminRequestContext = request ["context" ]
958
958
outbound_handler = request ["outbound_message_router" ]
959
959
960
- body = await request .json ()
960
+ body = await request .json () if request . body_exists else {}
961
961
filt_spec = body .get ("filter" )
962
962
preview_spec = body .get ("counter_preview" )
963
963
You can’t perform that action at this time.
0 commit comments