mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-23 04:04:19 +00:00
chore: remove redundant comment
This commit is contained in:
parent
927da10445
commit
975d98d8f1
@ -21,7 +21,6 @@ func ToAPIProject(ctx context.Context, project *project_model.Project) (*api.Pro
|
|||||||
Closed: project.ClosedDateUnix.AsTime(),
|
Closed: project.ClosedDateUnix.AsTime(),
|
||||||
}
|
}
|
||||||
|
|
||||||
// try to laod the repo
|
|
||||||
_ = project.LoadRepo(ctx)
|
_ = project.LoadRepo(ctx)
|
||||||
if project.Repo != nil {
|
if project.Repo != nil {
|
||||||
apiProject.Repo = &api.RepositoryMeta{
|
apiProject.Repo = &api.RepositoryMeta{
|
||||||
|
Loading…
Reference in New Issue
Block a user