I have found an error in the documentation page : for the User object, avatar and avatar_url are inverted
Ps : I'm french and my english aren't good
I'm not sure what you mean by inverted- user.avatar returns the hash, which matches what the docs say, and user.avatar_url returns an Asset object, which matches the docs.
Weather or not it makes sense for user.avatar_url to return an asset is a matter of contention but that's a separate issue.
Yes, I was wrong, sorry...
Most helpful comment
I'm not sure what you mean by inverted-
user.avatarreturns the hash, which matches what the docs say, anduser.avatar_urlreturns anAssetobject, which matches the docs.Weather or not it makes sense for
user.avatar_urlto return an asset is a matter of contention but that's a separate issue.