1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-21 11:18:49 -05:00

Add comment to clarify organization deletion process in ResellerClientOrganizationSignUpCommand

This commit is contained in:
Rui Tome 2025-06-20 10:34:17 +01:00
parent a3902502e6
commit 0b4cc5f2c0
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066

View File

@ -78,6 +78,7 @@ public class ResellerClientOrganizationSignUpCommand : IResellerClientOrganizati
if (organization.Id != default) if (organization.Id != default)
{ {
// Deletes the organization and all related data, including its owner user
await _organizationRepository.DeleteAsync(organization); await _organizationRepository.DeleteAsync(organization);
await _applicationCacheService.DeleteOrganizationAbilityAsync(organization.Id); await _applicationCacheService.DeleteOrganizationAbilityAsync(organization.Id);
} }