Correct spelling mistake
This commit is contained in:
parent
19da2ae60c
commit
81f0e46ba6
@ -53,7 +53,7 @@ func GenerateAtomFeed(c *Config, db *DB) (*string, error) {
|
|||||||
|
|
||||||
user, err := db.GetUser(c, article.AuthorID)
|
user, err := db.GetUser(c, article.AuthorID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("error getting user user info for Atom feed: %v", err)
|
return nil, fmt.Errorf("error getting user info for Atom feed: %v", err)
|
||||||
}
|
}
|
||||||
authorID := entry.AddAuthor(atom.NewPerson(user.FirstName + " " + user.LastName))
|
authorID := entry.AddAuthor(atom.NewPerson(user.FirstName + " " + user.LastName))
|
||||||
entry.Authors[authorID].URI = c.Domain + "/image/serve/" + user.ProfilePicLink
|
entry.Authors[authorID].URI = c.Domain + "/image/serve/" + user.ProfilePicLink
|
||||||
|
Loading…
x
Reference in New Issue
Block a user