Skip to content
Snippets Groups Projects
Commit cd655d17 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Merge branch 'Hotfix/1681-fixLargeFileSizeQuery' into 'Sprint/2021-16'

Hotfix/1681 fixLargeFileSizeQuery

See merge request !48
parents 411fa7f1 59104f72
No related branches found
No related tags found
2 merge requests!48Hotfix/1681 fixLargeFileSizeQuery,!47Sprint/2021 16
## Tree
The TreeApi handles the retrieving or storing metadata to a certain path.
......@@ -149,8 +149,8 @@ namespace Coscine.Api.Tree.Controllers
{
Name = GetFolderOrFileName(x),
Path = x.Key,
Size = (int)x.BodyBytes,
Kind = x.Key[(x.Key.LastIndexOf(".") + 1)..],
Size = x.BodyBytes,
Kind = x.HasBody ? "file" : "folder",
Provider = resource.Type.DisplayName
};
var objectMetaInfoReturnObject = new ObjectMetaInfoReturnObject(objectMetaInfo, _blobApiLink, resource.Id.ToString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment