Skip to content

Commit

Permalink
only display completed uploads in file list
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan committed Jan 10, 2025
1 parent 7b99872 commit c77879f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/emr/api/viewsets/file_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def get_queryset(self):
.filter(
file_type=self.request.GET.get("file_type"),
associating_id=self.request.GET.get("associating_id"),
upload_completed=True,
)
)
obj = get_object_or_404(FileUpload, external_id=self.kwargs["external_id"])
Expand Down

0 comments on commit c77879f

Please sign in to comment.