Skip to content

Commit 300534e

Browse files
author
“bchou9”
committed
Add initialization of result variable in commit_transaction_via_graphql function
1 parent 6b11d9e commit 300534e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/services/graphql_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def commit_transaction_via_graphql(payload: dict) -> str:
3131
verify=False
3232
)
3333

34+
result = {}
3435
try:
3536
result = resp.json()
3637
except ValueError:

0 commit comments

Comments
 (0)