Skip to content

Refactor src/controllers/accounts/follow.js getFollow to reduce parameters #2 #16

Open
aalmuhan wants to merge 1 commit into
CMU-17313Q:mainfrom
aalmuhan:refactor-getFollow
Open

Refactor src/controllers/accounts/follow.js getFollow to reduce parameters #2 #16
aalmuhan wants to merge 1 commit into
CMU-17313Q:mainfrom
aalmuhan:refactor-getFollow

Conversation

@aalmuhan
Copy link
Copy Markdown

@aalmuhan aalmuhan commented Sep 1, 2025

Refactored the getFollow function in controllers/follow.js to take a single options object instead of five separate parameters.
Updated calls to getFollow in getFollowing and getFollowers to use the new object-based parameter format.
Resolves #2

@aalmuhan aalmuhan changed the title Refactor getFollow to reduce parameters by using object destructuring Refactor src/controllers/accounts/follow.js getFollow to reduce parameters #2 Sep 1, 2025
@aalmuhan aalmuhan changed the title Refactor src/controllers/accounts/follow.js getFollow to reduce parameters #2 Refactor src/controllers/accounts/follow.js getFollow to reduce parameters #2 Sep 1, 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/follow.js

1 participant