Indentation fix.

This commit is contained in:
Andrew Mahone 2019-11-04 10:38:53 -05:00
parent 7110069b39
commit bd545891c0

View File

@ -50,8 +50,8 @@ namespace MediaBrowser.Api.Attachments
public async Task<object> Get(GetAttachment request)
{
var item = (Video)_libraryManager.GetItemById(request.Id);
var (attachment, attachmentStream) = await GetAttachment(request).ConfigureAwait(false);
var mime = string.IsNullOrWhiteSpace(attachment.MIMEType) ? "application/octet-stream" : attachment.MIMEType;
var (attachment, attachmentStream) = await GetAttachment(request).ConfigureAwait(false);
var mime = string.IsNullOrWhiteSpace(attachment.MIMEType) ? "application/octet-stream" : attachment.MIMEType;
return ResultFactory.GetResult(Request, attachmentStream, mime);
}