fix(api): правильное удаление префикса ПАРР в подробном описании AInW
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user