rtweet icon indicating copy to clipboard operation
rtweet copied to clipboard

Same endopoint but different arguments and functions

Open llrs opened this issue 3 years ago • 2 comments

post_follow and post_friendship call the same endpoint but have different arguments (to update a relationship).

post_follow should be split and provide only one function for each endpoint

llrs avatar Mar 21 '21 11:03 llrs

Do you have a plan for what to name those functions?

hadley avatar Mar 22 '21 11:03 hadley

We were discussing this on #480, following your idea possibly friendship_update and friendship_create, friendship_destroy, mute_user.

llrs avatar Mar 22 '21 12:03 llrs