Skip to content

Commit

Permalink
Merge pull request #177 from WLANThermo-nano/Add-phone-id
Browse files Browse the repository at this point in the history
Add phone id
  • Loading branch information
sochs authored Sep 2, 2024
2 parents 1666169 + fb8f7c8 commit b344a78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ void API::notificationObj(JsonObject &jObj)
{
JsonObject &_app = _services.createNestedObject();
_app["service"] = "app";
_app["phone_id"] = String(pushApp.devices[i].id);
_app["name"] = String(pushApp.devices[i].name);
_app["token"] = String(pushApp.devices[i].token);
_app["device_id"] = DeviceId::get();
_app["sound"] = gSystem->notification.getNotificationSound(pushApp.devices[i].sound);
Expand Down

0 comments on commit b344a78

Please sign in to comment.