fix: add weight field to update payload in updateSpoolTagId function
This commit is contained in:
parent
01f1e123ac
commit
0b356609d1
@ -147,6 +147,7 @@ bool updateSpoolTagId(String uidString, const char* payload) {
|
||||
// Update Payload erstellen
|
||||
JsonDocument updateDoc;
|
||||
updateDoc["extra"]["nfc_id"] = "\""+uidString+"\"";
|
||||
updateDoc["weight"] = weight;
|
||||
|
||||
String updatePayload;
|
||||
serializeJson(updateDoc, updatePayload);
|
||||
|
Loading…
x
Reference in New Issue
Block a user