Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Device.getOldConfigValue("key");

//Returns an Object of the following form: (Returns Null if no Config Value with matching Name was found.)
{
   "name":"testValue", //Name of the ConfigValue
   "value":"HELLO USER!", //Value set.
   "setValue":"2021-08-30T11:17:54.17557+02:00", //Timestamp when the Config Value was updated.
   "updatedAt":"2021-08-30T11:17:54.17557+02:00" //can be ignored. Timestamp when the ConfigValue was updated in the DB. 
} 

...