Skip to content
Snippets Groups Projects
Commit ad38d858 authored by Eirik Martin Danielsen's avatar Eirik Martin Danielsen :speech_balloon:
Browse files

status change

parent f3ef4852
No related branches found
No related tags found
1 merge request!38Resolve "remove dead code and cleanup"
......@@ -88,7 +88,6 @@ class LocationEndpoint(Resource):
if not os.path.isdir(new_path):
os.rename(folder_path, new_path)
location.name = data['new_name'].lower()
else:
return jsonify({"message": "location updated", "status": 200})
else:
return jsonify({"message": "location folder was not found", "status": 400})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment