Browse Source

#3169

add alias
fix-1523
chenyifan01 2 years ago
parent
commit
fd188cc5d9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      models/repo.go

+ 2
- 0
models/repo.go View File

@@ -249,6 +249,7 @@ type Repository4Card struct {
OwnerName string
LowerName string
Name string
Alias string
NumWatches int
NumStars int
NumForks int
@@ -291,6 +292,7 @@ func (repo *Repository) ToCardFormat() *Repository4Card {
UpdatedUnix: repo.UpdatedUnix,
PrimaryLanguage: repo.PrimaryLanguage,
RelAvatarLink: r,
Alias: repo.Alias,
}
return result
}


Loading…
Cancel
Save