Updated struct

This commit is contained in:
2017-07-17 19:56:26 +02:00
parent 98c4b90e9f
commit e014a5f628
5 changed files with 16 additions and 18 deletions

View File

@ -15,7 +15,7 @@ func main() {
// Filter out active users with an avatar
users, err := arn.FilterUsers(func(user *arn.User) bool {
return user.IsActive() && user.AvatarExtension != ""
return user.IsActive() && user.Avatar.Extension != ""
})
if err != nil {