fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

Serialize device notifications in grouped json #306

Closed oscgonfer closed 4 months ago

oscgonfer commented 4 months ago

Currently we serialize notifications settings per device as:

device:
  notify_stopped_publishing: false
  notify_low_battery: false

This is to track a minor change to serialize them jointly:

device:
  notifications:
    stopped_publishing: false
    low_battery: false

Just cleaner. Not much else

timcowlishaw commented 4 months ago

Fixed in c2f8447!