diff --git a/src/orca/services/synapse/ops.py b/src/orca/services/synapse/ops.py index 42c1347..3931ce5 100644 --- a/src/orca/services/synapse/ops.py +++ b/src/orca/services/synapse/ops.py @@ -94,10 +94,10 @@ def get_submissions_with_status( # Get all submissions for the given ``submission_view`` query_results = self.client.tableQuery( - f"select * from {submission_view} where status = '{submission_status}'" + f"select id from {submission_view} where status = '{submission_status}'" ) - submission_ids = query_results.asDataFrame()["id"].tolist() + submission_ids = query_results.asDataFrame().tolist() return submission_ids