added spaces

pull/1097/head
Rhythm 2022-02-28 13:14:17 +05:30
parent cf596b9d70
commit 52d345a0d8
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ func FindDowntime(timeVar time.Time) []Downtime {
func FindLatestDowntimeOfService(service int64) Downtime {
var downtime Downtime
q := db.Where("service = ?", service)
q = q.Order("start desc").First(&downtime)
q := db.Where("service = ? ", service)
q = q.Order("start desc ").First(&downtime)
return downtime
}