Open ysmilda opened 2 months ago
Hello, thanks for the bug report and thanks for the pull request. This is indeed a bug, I am opening internal ticket to track it.
Thanks for the contribution, this is scheduled for next 6.2.0 version
@ysmilda I pushed this to the 6.2.0-alpha2 which was just released, in case you want to try it before final 6.2.0 is released.
Printer model
Mini+
Firmware version
>= v5.0.0-alpha3
Upgrades and modifications
No response
Printing from...
PrusaLink
Describe the bug
When a job is present without
stat
the returned JSON response for a GET request to/api/v1/job
is invalid. It contains a comma at the end of the object which should only be there if the message hasstat
.https://github.com/prusa3d/Prusa-Firmware-Buddy/blob/f5a498ab8d2a42341d0dbeb969b7ae047783e860/lib/WUI/link_content/basic_gets.cpp#L434-L438
Moving the
JSON_COMMA
macro from the end of line 434 to the start of line 436 should fix the message.How to reproduce
No response
Expected behavior
No response
Files
No response