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

Refactor All Service Variable Names In Controllers #1105

Closed
wants to merge 27 commits into from

Conversation

Matte22
Copy link
Collaborator

@Matte22 Matte22 commented Oct 12, 2023

Resolves: #1096

All controllers have been improved for clarity/readability when calling their service.

FROM:
const Asset = require(../service/${config.database.type}/AssetService);

TO:
const AssetService = require(../service/${config.database.type}/AssetService);

By renaming the variable to AssetService, it becomes evident that this is sourced from our service.

@Matte22 Matte22 closed this Oct 12, 2023
@Matte22 Matte22 deleted the Refactor-Service-Import-Name branch October 12, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant