Skip to content

Commit

Permalink
fix: commit job deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
fspoettel committed Aug 16, 2023
1 parent 6fd038a commit 2babb3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/web/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def delete_transcript(
) -> None:
"""Remove metadata and artifacts for a single job."""
session.query(models.Job).filter(models.Job.id == str(id)).delete()
session.commit()
return None

class PostJobPayload(BaseModel):
Expand Down

0 comments on commit 2babb3d

Please sign in to comment.