Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created June 9, 2017 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/a64ababf1cf51a4da0d97495a9145958 to your computer and use it in GitHub Desktop.
Save matthieu-D/a64ababf1cf51a4da0d97495a9145958 to your computer and use it in GitHub Desktop.
refreshAvatar() {
let self = this;
this.s3.getSignedUrl('getObject', {'Key': 'protected/' + self.sub + '/avatar'}, function(err, url) {
self.avatarPhoto = url;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment