removed line

pull/1097/head
Rhythm 2022-01-06 11:46:52 +05:30
commit 3c83bdb952
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ func FindDowntime(timeVar time.Time) []Downtime {
q := db.Where("start <= ? and \"end\" >= ?", timeVar, timeVar)
q = q.Order("id ASC ").Find(&downtime)
return downtime
}
func (c *Downtime) Create() error {