Update library.js
This commit is contained in:
parent
20c1362858
commit
646f653368
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user