Fixed last updated value on datapoints
This commit is contained in:
parent
7724c742ad
commit
e4dbabfea5
@ -117,6 +117,8 @@ func DatapointAdd[T any](name string, value T) (err error) { // {{{
|
||||
return
|
||||
}
|
||||
|
||||
service.Db.Conn.Exec(`UPDATE datapoint SET last_value = NOW() WHERE name=$1`, name)
|
||||
|
||||
return
|
||||
} // }}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user