Updated struct
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user