upload: Content-type is always defined.

This commit is contained in:
Alex Vandiver
2024-06-20 16:19:25 +00:00
committed by Tim Abbott
parent 17fb23746f
commit 2eaf098c5d
5 changed files with 4 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ class LocalUploadBackend(ZulipUploadBackend):
self,
path_id: str,
uploaded_file_size: int,
content_type: Optional[str],
content_type: str,
file_data: bytes,
user_profile: UserProfile,
target_realm: Realm,