This commit is contained in:
@@ -39,8 +39,8 @@ func getPublisher(publishers []client.Publishers) string {
|
||||
|
||||
func getAuthors(authors []client.Authors) []string {
|
||||
ret := make([]string, len(authors))
|
||||
for _, author := range authors {
|
||||
ret = append(ret, author.Name)
|
||||
for i, author := range authors {
|
||||
ret[i] = author.Name
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user