new json_data model

This commit is contained in:
Adrian Zuercher
2025-05-04 22:21:12 +02:00
parent 7d6b09cf11
commit 5203fb8543
13 changed files with 79 additions and 45 deletions

View File

@@ -340,7 +340,7 @@ func (d *Datapoint) QueryDatapoints(depth uint, path string) (dps Datapoints) {
return
}
func (d *Datapoint) AddSubscribtion(id string, sub json_dataModels.Subscribe) {
func (d *Datapoint) AddSubscribtion(id string, sub json_dataModels.Subscription) {
if d.Subscriptions == nil {
return
}