bug when finished
This commit is contained in:
parent
4ce311a5a9
commit
c217c0eaa7
|
@ -671,11 +671,12 @@ void insertHistory(bool berhasil = true) {
|
||||||
String json = JSON.stringify(req);
|
String json = JSON.stringify(req);
|
||||||
|
|
||||||
JSONVar reqSet;
|
JSONVar reqSet;
|
||||||
reqSet["buzzer_on"] = false;
|
reqSet["buzzer_on"] = true;
|
||||||
|
|
||||||
String jsonReqSet = JSON.stringify(reqSet);
|
String jsonReqSet = JSON.stringify(reqSet);
|
||||||
|
|
||||||
db.from("pengaturan").eq("id", "1").doUpdate(jsonReqSet);
|
db.insert("histori_fermentasi", json, false);
|
||||||
|
db.from("pengaturan").eq("id", "1").doUpdate(jsonSett);
|
||||||
callUser(berhasil);
|
callUser(berhasil);
|
||||||
|
|
||||||
pengujian = true;
|
pengujian = true;
|
||||||
|
|
Loading…
Reference in New Issue