changed names

pull/1097/head
Rhythm 2022-02-25 18:58:22 +05:30
parent 7f0d3a94a8
commit cf596b9d70
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func (s Service) Duration() time.Duration {
func (s Service) DowntimeData(start time.Time, end time.Time) (*UptimeSeries, *[]downtimes.Downtime, error) {
downtimesList, _ := downtimes.FindByService(s.Id, start, end)
downtimesList, _ := downtimes.FindByServiceAndDuration(s.Id, start, end)
response := &UptimeSeries{
Start: start,