From 4f75791f1a92c6993dbb65bee66f9aae6725bd92 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 25 Jun 2020 10:30:43 +0200 Subject: Add PUT method and tests --- opendc/api/v2/users/userId/authorizations/endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/api/v2/users/userId/authorizations/endpoint.py') diff --git a/opendc/api/v2/users/userId/authorizations/endpoint.py b/opendc/api/v2/users/userId/authorizations/endpoint.py index 161034e1..75bde5fb 100644 --- a/opendc/api/v2/users/userId/authorizations/endpoint.py +++ b/opendc/api/v2/users/userId/authorizations/endpoint.py @@ -10,7 +10,7 @@ def GET(request): # Make sure required parameters are there try: - request.check_required_parameters(path={'userId': 'int'}) + request.check_required_parameters(path={'userId': 'string'}) except exceptions.ParameterError as e: return Response(400, str(e)) -- cgit v1.2.3