diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-08 10:52:48 +0900 |
|---|---|---|
| committer | dkanada <dkanada@users.noreply.github.com> | 2020-01-08 10:52:48 +0900 |
| commit | 73fac50e57982ac46aea2b487e9906826c3dc3b2 (patch) | |
| tree | fba035667905c4cc55798906e584ab7d0f5c5b7f /MediaBrowser.Api/Attachments/AttachmentService.cs | |
| parent | 8a0ef4103632b2888249af2f385e1e7bfc06fbfe (diff) | |
rename two properties based on code suggestions
Diffstat (limited to 'MediaBrowser.Api/Attachments/AttachmentService.cs')
| -rw-r--r-- | MediaBrowser.Api/Attachments/AttachmentService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Attachments/AttachmentService.cs b/MediaBrowser.Api/Attachments/AttachmentService.cs index ef09951b6..1632ca1b0 100644 --- a/MediaBrowser.Api/Attachments/AttachmentService.cs +++ b/MediaBrowser.Api/Attachments/AttachmentService.cs @@ -45,7 +45,7 @@ namespace MediaBrowser.Api.Attachments public async Task<object> Get(GetAttachment request) { var (attachment, attachmentStream) = await GetAttachment(request).ConfigureAwait(false); - var mime = string.IsNullOrWhiteSpace(attachment.MIMEType) ? "application/octet-stream" : attachment.MIMEType; + var mime = string.IsNullOrWhiteSpace(attachment.MimeType) ? "application/octet-stream" : attachment.MimeType; return ResultFactory.GetResult(Request, attachmentStream, mime); } |
