daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. saveProfileSettings(newPhoto: string, userId: string) {
  2.     const path = `users/${userId}`;
  3.     const data = {
  4.       profilePhoto: newPhoto
  5.     };
  6.     this.db.object(path).update(data);
  7.     this.router.navigate(['chat']);
  8.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand