)
@payload('user')
- def destroy_block(self, *args, **kwargs):
+ def destroy_block(self, **kwargs):
""" :reference: https://developer.twitter.com/en/docs/accounts-and-users/mute-block-report-users/api-reference/post-blocks-destroy
"""
return self.request(
- 'POST', 'blocks/destroy', *args, endpoint_parameters=(
- 'user_id', 'screen_name', 'include_entities', 'skip_status'
+ 'POST', 'blocks/destroy', endpoint_parameters=(
+ 'screen_name', 'user_id', 'include_entities', 'skip_status'
), **kwargs
)