diff options
Diffstat (limited to 'models/repo/archiver.go')
-rw-r--r-- | models/repo/archiver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo/archiver.go b/models/repo/archiver.go index dc64cce49b..fd07d8554d 100644 --- a/models/repo/archiver.go +++ b/models/repo/archiver.go @@ -112,5 +112,5 @@ func FindRepoArchives(opts FindRepoArchiversOption) ([]*RepoArchiver, error) { func SetArchiveRepoState(repo *Repository, isArchived bool) (err error) { repo.IsArchived = isArchived _, err = db.GetEngine(db.DefaultContext).Where("id = ?", repo.ID).Cols("is_archived").NoAutoTime().Update(repo) - return + return err } |