#1508 fix-1399

Merged
lewis merged 1 commits from fix-1399 into V20220228 2 years ago
  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