Island: Change POST to PUT in AgentConfiguration resource

This commit is contained in:
nandu pokhrel 2022-07-16 22:16:12 -04:00 committed by Shreya Malviya
parent c7be5f6c68
commit cb62246948
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class AgentConfiguration(AbstractResource):
return make_response(configuration_json, 200)
@jwt_required
def post(self):
def put(self):
try:
configuration_object = AgentConfigurationObject.from_mapping(request.json)
self._agent_configuration_repository.store_configuration(configuration_object)