Update library.js

This commit is contained in:
Evert Prants 2022-09-17 08:15:08 +00:00
parent 20c1362858
commit 646f653368

View File

@ -174,7 +174,7 @@
profile.displayName = data.display_name; profile.displayName = data.display_name;
profile.emails = [{ value: data.email }]; profile.emails = [{ value: data.email }];
profile.isAdmin = (data.privileges || []).includes('admin'); profile.isAdmin = (data.privileges || []).includes('admin');
profile.picture = data.picture; profile.picture = data.image;
// eslint-disable-next-line // eslint-disable-next-line
callback(null, profile); callback(null, profile);