Spaces:
Sleeping
Sleeping
Aryanshh commited on
Commit ·
262e2fd
1
Parent(s): ceb478a
fix: Expose active_shipments in the /state endpoint
Browse files- netzero_nav/server.py +2 -1
netzero_nav/server.py
CHANGED
|
@@ -48,5 +48,6 @@ def state():
|
|
| 48 |
"inventory": _env.inventory,
|
| 49 |
"carbon": _env.carbon_total,
|
| 50 |
"cash": _env.cash_balance,
|
| 51 |
-
"orders": _env.pending_orders
|
|
|
|
| 52 |
}
|
|
|
|
| 48 |
"inventory": _env.inventory,
|
| 49 |
"carbon": _env.carbon_total,
|
| 50 |
"cash": _env.cash_balance,
|
| 51 |
+
"orders": _env.pending_orders,
|
| 52 |
+
"active_shipments": _env.active_shipments
|
| 53 |
}
|