diff --git a/crc/services/workflow_service.py b/crc/services/workflow_service.py index 4f67d6af..310bd7fd 100644 --- a/crc/services/workflow_service.py +++ b/crc/services/workflow_service.py @@ -58,7 +58,7 @@ class WorkflowService(object): @staticmethod def delete_test_data(): - for study in db.session.query(StudyModel).filter_by(StudyModel.user_uid == "test"): + for study in db.session.query(StudyModel).filter(StudyModel.user_uid == "test"): StudyService.delete_study(study.id) db.session.commit()