Browse Source

Merge branch 'V20221214' into repo-square

tags/v1.22.12.1^2
chenshihai 3 years ago
parent
commit
65b635b93a
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      modules/convert/cloudbrain.go
  2. +1
    -0
      modules/structs/tagger.go

+ 1
- 0
modules/convert/cloudbrain.go View File

@@ -104,6 +104,7 @@ func ToSpecification(s *models.Specification) *api.SpecificationShow {

func ToTagger(user *models.User) *api.Tagger {
return &api.Tagger{
ID: user.ID,
Name: user.Name,
RelAvatarURL: user.RelAvatarLink(),
Email: user.Email,


+ 1
- 0
modules/structs/tagger.go View File

@@ -1,6 +1,7 @@
package structs

type Tagger struct {
ID int64 `json:"id"`
Name string `json:"name"`
Email string `json:"email"`
RelAvatarURL string `json:"relAvatarURL"`


Loading…
Cancel
Save