Skip to content
Snippets Groups Projects
Commit 47ce43b6 authored by Renzo Frigato's avatar Renzo Frigato
Browse files

fix issue on container_type format

closes #129
parent 802c53b9
No related branches found
No related tags found
No related merge requests found
......@@ -398,5 +398,5 @@ class FileListHandler(ListHandler):
result = keycheck(mongo_validator(permchecker(storage.exec_op)))(method, _id=_id, query_params=query_params, payload=payload)
if not result or result.modified_count != 1:
self.abort(404, 'Element not added in list {} of container {} {}'.format(storage.list_name, storage.cont_name, _id))
rules.create_jobs(config.db, container, cont_name, file_properties)
rules.create_jobs(config.db, container, cont_name[:-1], file_properties)
return {'modified': result.modified_count}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment