Closed luckpo closed 7 years ago
Just added the call to update profile the profile pic
You will have to base64 encode the img before. example call :
require('fs').readFile('./profile_pic.jpg', function(err, data){ var base64Image = data.toString('base64'); gigyaClient.accounts .updateProfileImage({ UID: 'XXX', photoBytes: base64Image
})
Thanks!
Just added the call to update profile the profile pic
You will have to base64 encode the img before. example call :
require('fs').readFile('./profile_pic.jpg', function(err, data){ var base64Image = data.toString('base64'); gigyaClient.accounts .updateProfileImage({ UID: 'XXX', photoBytes: base64Image
})