read all sensors implemented
This commit is contained in:
@@ -48,8 +48,5 @@ func (s *Service) GetValues(sensorID string, from, to time.Time) (Sensor, error)
|
||||
}
|
||||
|
||||
func (s *Service) ListSensors() ([]Sensor, error) {
|
||||
|
||||
s.repo.ReadAllSensors()
|
||||
|
||||
return []Sensor{}, nil
|
||||
return s.repo.ReadAllSensors()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user