rename assert_params_in_request to assert_params_in_dict
the method "assert_params_in_request" does handle dicts and not requests. A request body has to be parsed to json before this method can be used
Showing
- synapse/federation/federation_base.py 2 additions, 2 deletionssynapse/federation/federation_base.py
- synapse/http/servlet.py 1 addition, 1 deletionsynapse/http/servlet.py
- synapse/rest/client/v1/admin.py 4 additions, 4 deletionssynapse/rest/client/v1/admin.py
- synapse/rest/client/v1/directory.py 1 addition, 1 deletionsynapse/rest/client/v1/directory.py
- synapse/rest/client/v1/pusher.py 2 additions, 2 deletionssynapse/rest/client/v1/pusher.py
- synapse/rest/client/v1/register.py 5 additions, 5 deletionssynapse/rest/client/v1/register.py
- synapse/rest/client/v1/room.py 2 additions, 2 deletionssynapse/rest/client/v1/room.py
- synapse/rest/client/v2_alpha/account.py 7 additions, 7 deletionssynapse/rest/client/v2_alpha/account.py
- synapse/rest/client/v2_alpha/devices.py 2 additions, 2 deletionssynapse/rest/client/v2_alpha/devices.py
- synapse/rest/client/v2_alpha/register.py 5 additions, 5 deletionssynapse/rest/client/v2_alpha/register.py
- synapse/rest/client/v2_alpha/report_event.py 2 additions, 2 deletionssynapse/rest/client/v2_alpha/report_event.py
Loading
Please register or sign in to comment