Skip to content

Commit

Permalink
set status of the slot object as enum value (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
KatunaNorbert authored Oct 3, 2024
1 parent a9c99c0 commit 626befa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdr_backend/subgraph/legacy/subgraph_slot.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_slots(
**{
"ID": slot["id"],
"slot": slot["slot"],
"status": slot["status"],
"status": PredictSlotStatus[slot["status"].upper()],
"trueValues": slot["trueValues"],
"roundSumStakesUp": float(slot["roundSumStakesUp"]),
"roundSumStakes": float(slot["roundSumStakes"]),
Expand Down

0 comments on commit 626befa

Please sign in to comment.