Skip to content

Commit f75a50f

Browse files
committed
Fix template failure
1 parent 42c7ca2 commit f75a50f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

models/org.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ func (org *Organization) GetMembers() (UserList, map[int64]bool, error) {
8787
})
8888
}
8989

90+
// AvatarLink returns the full avatar link with http host
91+
func (org *Organization) AvatarLink() string {
92+
return org.AsUser().AvatarLink()
93+
}
94+
9095
// FindOrgMembersOpts represensts find org members conditions
9196
type FindOrgMembersOpts struct {
9297
db.ListOptions

0 commit comments

Comments
 (0)