mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 14:10:40 +02:00
Indentation fix.
This commit is contained in:
parent
7110069b39
commit
bd545891c0
|
@ -50,8 +50,8 @@ namespace MediaBrowser.Api.Attachments
|
||||||
public async Task<object> Get(GetAttachment request)
|
public async Task<object> Get(GetAttachment request)
|
||||||
{
|
{
|
||||||
var item = (Video)_libraryManager.GetItemById(request.Id);
|
var item = (Video)_libraryManager.GetItemById(request.Id);
|
||||||
var (attachment, attachmentStream) = await GetAttachment(request).ConfigureAwait(false);
|
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);
|
return ResultFactory.GetResult(Request, attachmentStream, mime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue