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

not like this, do not pass entire URL unless u have absolute need for it, and in this case u do not, pass id in function and have URL in function not here, u have few functions like this, do this for all of them #40

Closed
GigaGiorgadze opened this issue Jul 19, 2022 · 2 comments
Assignees

Comments

@Saba-Var
Copy link
Owner

I moved URLs into service functions. The only place I leave the same is the imageUpload function because this one is really reusable and I use it in a few places where URLs are different from each other.

Image

@GigaGiorgadze
Copy link
Author

no, i said do not pass entire URL, whole point of services is that u do not need to write entire URL all the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants