|
@@ -1039,10 +1039,10 @@ public class OrderController : BaseController
|
|
|
if (dto.CallId.NotNullOrEmpty())
|
|
|
{
|
|
|
await _capPublisher.PublishDelayAsync(TimeSpan.FromSeconds(seconds), EventNames.VisitCallDelay, dto, cancellationToken: HttpContext.RequestAborted);
|
|
|
- }
|
|
|
|
|
|
- if (dto.CallId != null)
|
|
|
dto.CallId = await _callApplication.GetOrSetCallIdAsync(dto.CallId, HttpContext.RequestAborted);
|
|
|
+ }
|
|
|
+
|
|
|
await _orderApplication.SaveOrderVisit(dto, HttpContext.RequestAborted);
|
|
|
}
|
|
|
|