From 5bccce34751ae25bb3549b06347450229b6952ed Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Wed, 11 Nov 2026 11:56:11 +0330 Subject: [PATCH] apply fix on Create Conversation Validations ... --- Controllers/XAiServiceControllerBase.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Controllers/XAiServiceControllerBase.cs b/Controllers/XAiServiceControllerBase.cs index 9e59c0c..aac9fc1 100644 --- a/Controllers/XAiServiceControllerBase.cs +++ b/Controllers/XAiServiceControllerBase.cs @@ -1043,10 +1043,7 @@ namespace xAiApi.Controllers { // // Validate ... - if (projectId.IsNull() || - !projectId.HasValue || - item.IsNullOrDefault() || - projectId.Value.IsDefaultGuid()) + if (item.IsNullOrDefault()) { XException.InvalidArgs.Throw(); }