Skip to content

Commit

Permalink
Correct payload format
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Sep 26, 2023
1 parent 3dde2c8 commit 5902c98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aquarius/rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ def check_permission_rbac(event_type, address, tx_id):
payload = {
"eventType": event_type,
"component": "metadatacache",
"credentials": [
{"type": "address", "value": address},
{"type": "address", "value": tx_id},
],
"txid": tx_id,
"credentials": {"type": "address", "value": address},
}

try:
Expand Down

0 comments on commit 5902c98

Please sign in to comment.