From 30e386d69d6edf6b345af7ac42f617dbe564e600 Mon Sep 17 00:00:00 2001 From: Rui Tome Date: Fri, 30 Jan 2026 16:40:45 +0000 Subject: [PATCH] Update InitPendingOrganizationRequest to allow optional collection name - Modified the CollectionName property to be nullable, allowing for no collection to be created if the value is null or empty. - Enhanced documentation to clarify the optional nature of the CollectionName parameter. --- .../Organizations/InitPendingOrganizationRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/AdminConsole/OrganizationFeatures/Organizations/InitPendingOrganizationRequest.cs b/src/Core/AdminConsole/OrganizationFeatures/Organizations/InitPendingOrganizationRequest.cs index 9cf5f41d71..47c5d41405 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/Organizations/InitPendingOrganizationRequest.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/Organizations/InitPendingOrganizationRequest.cs @@ -33,9 +33,9 @@ public record InitPendingOrganizationRequest public required string PrivateKey { get; init; } /// - /// The name of the default collection to create. + /// The name of the default collection to create. Optional - if null or empty, no collection is created. /// - public required string CollectionName { get; init; } + public string? CollectionName { get; init; } /// /// The email token for validating the invitation.