Skip to content

Commit b0b24a2

Browse files
cstyleslunny
authored andcommitted
Use RelAvatarLink() in GetActAvatar() (#2800)
1 parent 82fc50f commit b0b24a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (a *Action) ShortActUserName() string {
141141
// GetActAvatar the action's user's avatar link
142142
func (a *Action) GetActAvatar() string {
143143
a.loadActUser()
144-
return a.ActUser.AvatarLink()
144+
return a.ActUser.RelAvatarLink()
145145
}
146146

147147
// GetRepoUserName returns the name of the action repository owner.

0 commit comments

Comments
 (0)