mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
Merge branch 'development03' into new_network
This commit is contained in:
commit
ac7c80ddea
9 changed files with 126 additions and 11 deletions
|
@ -332,7 +332,7 @@ class RestApi {
|
|||
if(-1 != i) {
|
||||
i+=5;
|
||||
String sn = tmp.substring(i, tmp.indexOf("\"", i)-1);
|
||||
tmp.replace(sn, String(atoll(sn.c_str()), HEX));
|
||||
tmp.replace(sn, String(sn) + ",\"note\":\"" + String(atoll(sn.c_str()), HEX) + "\"");
|
||||
}
|
||||
}
|
||||
response = request->beginResponse(200, F("application/json; charset=utf-8"), tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue