Skip to content
Snippets Groups Projects
Commit 56f3121b authored by L. Ellenbeck's avatar L. Ellenbeck Committed by Petar Hristov
Browse files

Fix: Update dependencies

parent ee58700d
Branches
Tags v1.7.2
2 merge requests!75Update dev,!74Fix: Update dependencies
...@@ -134,7 +134,9 @@ namespace Coscine.Api.Blob.Controllers ...@@ -134,7 +134,9 @@ namespace Coscine.Api.Blob.Controllers
} }
var infos = await resourceTypeDefinition.GetEntry(resource.Id.ToString(), path); var infos = await resourceTypeDefinition.GetEntry(resource.Id.ToString(), path);
var response = await resourceTypeDefinition.LoadEntry(resource.Id.ToString(), path); var response = await resourceTypeDefinition.LoadEntry(resource.Id.ToString(), path);
new FileExtensionContentTypeProvider().TryGetContentType(path, out string contentType); new FileExtensionContentTypeProvider().TryGetContentType(path, out string contentType);
LogAnalytics("Download File", resourceId, path, user); LogAnalytics("Download File", resourceId, path, user);
return File(response, contentType ?? "application/octet-stream"); return File(response, contentType ?? "application/octet-stream");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment