Upload a custom image for each user where the name of the image is the user id and is in the public folder.
|
idToken: token, |
|
displayName: req.body.handle, |
|
photoUrl: `https://firebasestorage.googleapis.com/v0/b/${config.storageBucket}/o/${defaultImage}?alt=media`, |
|
}) |
|
.catch((err) => { |
Upload a custom image for each user where the name of the image is the user id and is in the public folder.
trackers-web/api/functions/handlers/users.js
Lines 36 to 40 in eadc37e