We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f33f7f0 commit 3912945Copy full SHA for 3912945
assemblyline_ui/api/v4/submission.py
@@ -46,7 +46,7 @@ def delete_submission(sid, **kwargs):
46
if Classification.is_accessible(user['classification'], submission['classification']) \
47
and (submission['params']['submitter'] == user['uname'] or 'admin' in user['type']):
48
with forge.get_filestore() as f_transport:
49
- STORAGE.delete_submission_tree(sid, Classification, transport=f_transport)
+ STORAGE.delete_submission_tree_bulk(sid, Classification, transport=f_transport)
50
STORAGE.submission.commit()
51
return make_api_response({"success": True})
52
else:
0 commit comments