Browse Source

Corrected Mirror.NextUpdate not set (#1388)

for-closed-social
Jonas 7 years ago
committed by Lunny Xiao
parent
commit
e7493e953f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo_mirror.go

+ 1
- 1
models/repo_mirror.go View File

@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix":
case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
}
}

Loading…
Cancel
Save