mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-24 17:27:02 +00:00
🐛(backend) update media auth endpoint to check correct recording status
Modify media auth endpoint to properly handle recordings with "Notification succeeded" status alongside "Saved" status. Previous code incorrectly expected only "Saved" status, causing access issues after email notifications were sent and status was updated.
This commit is contained in:
committed by
aleb_the_flash
parent
4afbd9ba7f
commit
886919c23d
@@ -581,7 +581,10 @@ class Recording(BaseModel):
|
||||
@property
|
||||
def is_saved(self) -> bool:
|
||||
"""Check if the recording is in a saved state."""
|
||||
return self.status == RecordingStatusChoices.SAVED
|
||||
return self.status in {
|
||||
RecordingStatusChoices.NOTIFICATION_SUCCEEDED,
|
||||
RecordingStatusChoices.SAVED,
|
||||
}
|
||||
|
||||
@property
|
||||
def extension(self):
|
||||
|
||||
Reference in New Issue
Block a user