forked from ddrilling/AsbCloudServer
CS2-21: Получение имени репорта из его пути заменено на .GetFileName()
This commit is contained in:
parent
88f0453a32
commit
d4e9a5f889
@ -44,7 +44,7 @@ namespace AsbCloudInfrastructure.Services
|
||||
var newReportName = generator.Make();
|
||||
if(newReportName is not null)
|
||||
{
|
||||
var shorReportName = newReportName.Split(Path.DirectorySeparatorChar).Last();
|
||||
var shorReportName = Path.GetFileName(newReportName);
|
||||
reportNameHandler.Invoke(shorReportName, id);
|
||||
|
||||
var newReportProperties = new Report
|
||||
|
Loading…
Reference in New Issue
Block a user