mirror of
https://github.com/zzzzDev4/IAS-Better-Tea.git
synced 2025-04-21 07:31:20 +02:00
fix: default id -1 no longer used when registering new tea
This commit is contained in:
parent
d8b02f9656
commit
a16f59fe12
1 changed files with 1 additions and 0 deletions
|
@ -457,6 +457,7 @@ void loop()
|
||||||
|
|
||||||
CATCH_NET_FAILURE(result, "POST FAILED")
|
CATCH_NET_FAILURE(result, "POST FAILED")
|
||||||
|
|
||||||
|
currentTea = TeaData(result["id"], result["tea_name"], result["rfid_code"], result["tea_notes"], result["water_temp"], result["steeping_seconds"]);
|
||||||
sound.playSaveSound();
|
sound.playSaveSound();
|
||||||
smartDisplay.playTeaAnimationPartTwo(32, "", "Done!", "", "");
|
smartDisplay.playTeaAnimationPartTwo(32, "", "Done!", "", "");
|
||||||
state = State::DISPLAY_SCANNED_TEA_CONFIG;
|
state = State::DISPLAY_SCANNED_TEA_CONFIG;
|
||||||
|
|
Loading…
Add table
Reference in a new issue