1
0

GetUser now returns a pointer (#93)

This commit is contained in:
konrad
2019-08-14 19:59:31 +00:00
committed by Gitea
parent 8fbe721453
commit be14634e1e
25 changed files with 172 additions and 131 deletions

View File

@ -179,6 +179,11 @@ func getLabelsByTaskIDs(opts *LabelByTaskIDsOptions) (ls []*labelWithTaskID, err
return nil, err
}
// Obfuscate all user emails
for _, u := range users {
u.Email = ""
}
// Put it all together
for in, l := range labels {
labels[in].CreatedBy = users[l.CreatedByID]