Browse Source

fix-1399

tags/v1.22.2.2^2
ychao_1983 3 years ago
parent
commit
b24e2a4c6b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/repo/repo_statistic.go

+ 2
- 2
routers/repo/repo_statistic.go View File

@@ -106,7 +106,7 @@ func RepoStatisticDaily(date string) {
repoStat := models.RepoStatistic{
RepoID: repo.ID,
Date: date,
Name: repo.Name,
Name: repo.Alias,
IsPrivate: repo.IsPrivate,
IsMirror: repo.IsMirror,
OwnerName: repo.OwnerName,
@@ -282,7 +282,7 @@ func RepoStatisticDaily(date string) {
}

func getDistinctProjectName(repo *models.Repository) string {
return repo.OwnerName + "/" + repo.Name
return repo.OwnerName + "/" + repo.Alias
}

func getDatasetSize(repo *models.Repository) (int64, error) {


Loading…
Cancel
Save