Open
Description
Bug
When a factory gets resources even if they are not enough to start a cycle it automatically updates last_cycle_start in the json even though the cycle didn't actually start.
The response shows an example.
The factory is a P2 for coolant. It requires 40 water and 40 electrolytes. The response shows that the contents of the factory has amount 20 of water which in the case is not enough to start a cycle but it did update the "last_cycle_start":"2024-09-11T13:08:24Z".
Body
{
"contents":[
{
"amount":20,
"type_id":3645
}
],
"last_cycle_start":"2024-09-11T13:08:24Z",
"latitude":0.6998928785324097,
"longitude":4.845121383666992,
"pin_id":1046484501534,
"schematic_id":66,
"type_id":2494
},
Checklist
Check all boxes that apply to this issue:
- Bug description is provided
- Request path is provided
- Response status code is provided
- Response headers are provided
- Response body is provided
- Expected response is provided
Metadata
Metadata
Assignees
Labels
No labels