diff --git a/backend/src/models/analysis.py b/backend/src/models/analysis.py index afb38f8e..3994338f 100644 --- a/backend/src/models/analysis.py +++ b/backend/src/models/analysis.py @@ -80,6 +80,7 @@ class Analysis(BaseAnalysis): genomic_units: List[GenomicUnit] = [] sections: List[Section] = [] + discussions: List = [] supporting_evidence_files: List = [] def units_to_annotate(self): diff --git a/frontend/src/models/analyses.js b/frontend/src/models/analyses.js index 0a6f5490..ccf46ccc 100644 --- a/frontend/src/models/analyses.js +++ b/frontend/src/models/analyses.js @@ -22,21 +22,6 @@ export default { const baseUrl = '/rosalution/api/'; const urlQuery = 'analysis/' + analysisName; const body = await Requests.get(baseUrl + urlQuery); - - body['discussions'] = [{ - 'postId': '', - 'client_id': '', - 'datetimestamp': '', - 'content': [], - 'attachments': [], - 'replies': [{ - 'client_id': '', - 'datetimestamp': '', - 'content': '', - 'attachments': [], - }], - }]; - return body; },