Skip to content

Refactor getItemData in src/controllers/accounts/posts.js#45

Open
aadalbek wants to merge 2 commits into
CMU-17313Q:mainfrom
aadalbek:refactor-getitemdata
Open

Refactor getItemData in src/controllers/accounts/posts.js#45
aadalbek wants to merge 2 commits into
CMU-17313Q:mainfrom
aadalbek:refactor-getitemdata

Conversation

@aadalbek
Copy link
Copy Markdown

@aadalbek aadalbek commented Sep 4, 2025

Reduced the number of parameters used in getItemData by grouping them into a single object.

Passed the lint and test. Manually confirmed that logs show execution of changes applied to the function.

Resolves #42

@aadalbek aadalbek closed this Sep 4, 2025
@aadalbek aadalbek reopened this Sep 4, 2025
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

Successfully merging this pull request may close these issues.

Refactoring code in src/controllers/accounts/posts.js

1 participant