Skip to content

Commit 03b1fe5

Browse files
committed
Corrected Mirror.NextUpdate not set
1 parent 6a39250 commit 03b1fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo_mirror.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
6161
}
6262
case "updated_unix":
6363
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
64-
case "next_updated_unix":
64+
case "next_update_unix":
6565
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
6666
}
6767
}

0 commit comments

Comments
 (0)