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:
parent
a3902502e6
commit
0b4cc5f2c0
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user