fix(api): правильное удаление префикса ПАРР в подробном описании AInW

This commit is contained in:
Mikhail Trubnikov
2024-04-11 09:05:16 +10:00
parent a642e76e80
commit 85a1d9be69
2 changed files with 4 additions and 2 deletions

View File

@@ -62,7 +62,8 @@ namespace PARR.DAL.Models
set
{
//удаляем префикс, если он есть
_fullDescription = value.Replace($"\r\n{PrefixSettings.PrefixWithoutVariable}", string.Empty);
//_fullDescription = value.Replace($"\r\n{PrefixSettings.PrefixWithoutVariable}", string.Empty);
_fullDescription = value.Replace($"{PrefixSettings.PrefixWithoutVariable}", string.Empty).TrimEnd();
}
}

View File

@@ -35,6 +35,7 @@ namespace PARR.Test
////test interval
//await intervalService.IntervalInitAsync(async () =>
//{
@@ -46,7 +47,7 @@ namespace PARR.Test
//await TestEsppApi();
await StopDiscontinuedOrdersInEspp();
//await StopDiscontinuedOrdersInEspp();
}