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

optimize httpChangeAvatar controller #62

Open
AlbertArakelyan opened this issue Apr 16, 2024 · 0 comments
Open

optimize httpChangeAvatar controller #62

AlbertArakelyan opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
backend bug Something isn't working

Comments

@AlbertArakelyan
Copy link
Owner

AlbertArakelyan commented Apr 16, 2024

Move all the file creation logic into a separate function which just reutrns the file path (without base url) by the end.

Also make sure the path for the user is updated on database.

@AlbertArakelyan AlbertArakelyan self-assigned this Apr 16, 2024
@AlbertArakelyan AlbertArakelyan added bug Something isn't working backend labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant