Skip to content

Commit

Permalink
[FIX] Fix/remove mime type (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsyro authored Nov 14, 2023
1 parent 97390b6 commit 266ae7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def post(self):

# offer credential
attributes = [{
"mime-type":"text/plain",
# "mime-type":"text/plain",
# NB Orbit does not expect this removing for now
"name":str(attr),
"value":str(val),
} for attr,val in credential_attrs.items()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def post(self, topic):
if new_state != cred_exch_record.cred_exch_state:
cred_exch_record.cred_exch_state=new_state
if new_state == "credential_acked":
current_app.logger.info(f"cred_acked, save revokation details {webhook_body}")
cred_exch_record.rev_reg_id = webhook_body["revoc_reg_id"]
cred_exch_record.cred_rev_id = webhook_body["revocation_id"]

Expand Down

0 comments on commit 266ae7f

Please sign in to comment.