diff options
Diffstat (limited to 'services/migrations/gitea_uploader.go')
-rw-r--r-- | services/migrations/gitea_uploader.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go index 0887aa1132..33ca3127fb 100644 --- a/services/migrations/gitea_uploader.go +++ b/services/migrations/gitea_uploader.go @@ -154,7 +154,7 @@ func (g *GiteaLocalUploader) CreateTopics(topics ...string) error { } } topics = topics[:c] - return models.SaveTopics(g.repo.ID, topics...) + return repo_model.SaveTopics(g.repo.ID, topics...) } // CreateMilestones creates milestones @@ -980,5 +980,5 @@ func (g *GiteaLocalUploader) Finish() error { } g.repo.Status = repo_model.RepositoryReady - return models.UpdateRepositoryCols(g.repo, "status") + return repo_model.UpdateRepositoryCols(g.repo, "status") } |