mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-11 19:04:24 +00:00
Fix typos and simplification
This commit is contained in:
1 parent
2fd7e35b99
commit
4ca2c0c873
5 files changed
+17
-40
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from flask import current_app, jsonify
|
||||
from flask import current_app
|
||||
from threading import Thread
|
||||
from app import db
|
||||
from app.decorators import content_negotiation
|
||||
@@ -27,6 +27,4 @@ def delete_corpus_file(corpus_id, corpus_file_id):
|
||||
'message': f'Corpus File "{corpus_file.title}" marked for deletion',
|
||||
'category': 'corpus'
|
||||
}
|
||||
response = jsonify(response_data)
|
||||
response.status_code = 202
|
||||
return response
|
||||
return response_data, 202
|
||||
Reference in new issue
Block a user