diff --git a/LAMP/api/activity_api.py b/LAMP/api/activity_api.py index 0a51051..b1f9ea7 100644 --- a/LAMP/api/activity_api.py +++ b/LAMP/api/activity_api.py @@ -602,7 +602,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str,dict), 'auth': [ 'Authorization' ], @@ -727,7 +727,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/activity_event_api.py b/LAMP/api/activity_event_api.py index d7a48ad..0b4268b 100644 --- a/LAMP/api/activity_event_api.py +++ b/LAMP/api/activity_event_api.py @@ -559,7 +559,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -688,7 +688,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/activity_spec_api.py b/LAMP/api/activity_spec_api.py index 73e8923..6554f26 100644 --- a/LAMP/api/activity_spec_api.py +++ b/LAMP/api/activity_spec_api.py @@ -226,7 +226,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -345,7 +345,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -467,7 +467,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -593,7 +593,7 @@ def __view( self.view = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/participant_api.py b/LAMP/api/participant_api.py index ab0d8ea..dae1e14 100644 --- a/LAMP/api/participant_api.py +++ b/LAMP/api/participant_api.py @@ -603,7 +603,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -725,7 +725,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/researcher_api.py b/LAMP/api/researcher_api.py index c899e9b..057b2bf 100644 --- a/LAMP/api/researcher_api.py +++ b/LAMP/api/researcher_api.py @@ -226,7 +226,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -345,7 +345,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -468,7 +468,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/sensor_api.py b/LAMP/api/sensor_api.py index 403f0c9..e86452e 100644 --- a/LAMP/api/sensor_api.py +++ b/LAMP/api/sensor_api.py @@ -602,7 +602,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -727,7 +727,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -849,7 +849,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/sensor_event_api.py b/LAMP/api/sensor_event_api.py index 807f8f5..525e5b2 100644 --- a/LAMP/api/sensor_event_api.py +++ b/LAMP/api/sensor_event_api.py @@ -559,7 +559,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -687,7 +687,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/sensor_spec_api.py b/LAMP/api/sensor_spec_api.py index 1dda839..a5215ea 100644 --- a/LAMP/api/sensor_spec_api.py +++ b/LAMP/api/sensor_spec_api.py @@ -226,7 +226,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -345,7 +345,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -467,7 +467,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], diff --git a/LAMP/api/study_api.py b/LAMP/api/study_api.py index ae48f88..9b4a938 100644 --- a/LAMP/api/study_api.py +++ b/LAMP/api/study_api.py @@ -354,7 +354,7 @@ def __create( self.create = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -479,7 +479,7 @@ def __delete( self.delete = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ], @@ -601,7 +601,7 @@ def __update( self.update = Endpoint( settings={ - 'response_type': (str,), + 'response_type': (str, dict,), 'auth': [ 'Authorization' ],