Skip to content

Commit 340edd8

Browse files
authored
Merge pull request #189 from sj-distributor/fix-record-ai-phone-null-exception
Fix record ai phone null exception
2 parents cd8c633 + 2a377cd commit 340edd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SmartTalk.Core/Services/AiSpeechAssistant/AiSpeechAssistantProcessJobService.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ public async Task RecordAiSpeechAssistantCallAsync(AiSpeechAssistantStreamContex
6363
CreatedDate = callResource.StartTime ?? DateTimeOffset.Now,
6464
OrderStatus = PhoneOrderOrderStatus.Pending,
6565
CustomerName = context.UserInfo.UserName,
66-
PhoneNumber = context.UserInfo.PhoneNumber,
67-
Comments = context.OrderItems.Comments
66+
PhoneNumber = context.UserInfo.PhoneNumber
6867
};
6968

7069
await _phoneOrderDataProvider.AddPhoneOrderRecordsAsync([record], cancellationToken: cancellationToken).ConfigureAwait(false);

0 commit comments

Comments
 (0)