This commit is contained in:
2026-09-28 18:00:00 +03:30
parent 8e23a09f7b
commit 33922537d5
+4 -3
View File
@@ -1030,7 +1030,7 @@ namespace xAiModels.Providers
// //
// Check Default Owner Exists or not ... // Check Default Owner Exists or not ...
result = !(await stringProvider.FindOne( var defaultProjectResource = await stringProvider.FindOne(
cancellationToken: cancellationToken, cancellationToken: cancellationToken,
predicate: x => predicate: x =>
x.ResourceTitle x.ResourceTitle
@@ -1043,8 +1043,9 @@ namespace xAiModels.Providers
x.TranslatedValue x.TranslatedValue
.ToNormalString() .ToNormalString()
.Contains(XAiDataProviderConstants.XDefaultAiProjectSuffix) .Contains(XAiDataProviderConstants.XDefaultAiProjectSuffix)
)) );
.IsNullOrDefault(); result = !defaultProjectResource.IsNullOrDefault();
return result; return result;
} }