diff options
Diffstat (limited to 'models/repo_mirror.go')
-rw-r--r-- | models/repo_mirror.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_mirror.go b/models/repo_mirror.go index 0b6e130aed..6419c0ba17 100644 --- a/models/repo_mirror.go +++ b/models/repo_mirror.go @@ -199,7 +199,7 @@ func GetMirrorByRepoID(repoID int64) (*Mirror, error) { } func updateMirror(e Engine, m *Mirror) error { - _, err := e.Id(m.ID).AllCols().Update(m) + _, err := e.ID(m.ID).AllCols().Update(m) return err } |