apply fix on Create Conversation Validations ...
This commit is contained in:
@@ -1043,10 +1043,7 @@ namespace xAiApi.Controllers
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Validate ...
|
// Validate ...
|
||||||
if (projectId.IsNull() ||
|
if (item.IsNullOrDefault())
|
||||||
!projectId.HasValue ||
|
|
||||||
item.IsNullOrDefault() ||
|
|
||||||
projectId.Value.IsDefaultGuid())
|
|
||||||
{
|
{
|
||||||
XException.InvalidArgs.Throw();
|
XException.InvalidArgs.Throw();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user