Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API functions to give custom image to users #6

Open
GreatGameDota opened this issue Nov 28, 2022 · 0 comments
Open

Update API functions to give custom image to users #6

GreatGameDota opened this issue Nov 28, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@GreatGameDota
Copy link
Member

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) => {

@GreatGameDota GreatGameDota added bug Something isn't working enhancement New feature or request labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant