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

Fix: QuotaSize in analytics logger now using .Value

parent b711c2a9
No related branches found
No related tags found
1 merge request!42Fix: QuotaSize in analytics logger now using .Value
......@@ -157,7 +157,7 @@ namespace Coscine.Api.Admin.Controllers
Operation = "Admin Project Quota Change",
UserId = user.Id.ToString(),
ProjectId = projectId.ToString(),
QuotaSize = quotaObjects.ConvertAll(x => $"{x.ResourceType}: {x.TotalReserved}/{x.TotalUsed}")
QuotaSize = quotaObjects.ConvertAll(x => $"{x.ResourceType}: {x.Allocated.Value}/{x.Maximum.Value}")
});
}
#pragma warning disable RCS1075 // Avoid empty catch clause that catches System.Exception.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment