porile.avatar is null for some user with no apparent reason. They do not have the default discord's avatar and I can't see nothing in their settings that could prevent the API from getting this field. Do you think that this is coming from passport-discord library or could it be an issue of the discord's API itself. If someone knows about this problem and knows a way to get a user's avatar in an other way, i'll take it !
porile.avatar is null for some user with no apparent reason. They do not have the default discord's avatar and I can't see nothing in their settings that could prevent the API from getting this field. Do you think that this is coming from
passport-discord
library or could it be an issue of the discord's API itself. If someone knows about this problem and knows a way to get a user's avatar in an other way, i'll take it !The code user :
Thank you