This commit is contained in:
xfarrow
2024-03-13 12:02:14 +01:00
parent 83af80d097
commit aa8e67120f
4 changed files with 19 additions and 6 deletions

View File

@ -71,7 +71,7 @@ async function removeOrganizationAdmin(personId, organizationId) {
.where('id_organization', organizationId)
.del();
// TODO: If the user instead deletes their entire profile, the organization will not be deleted. Fix. (database schema)
// TODO: If the user instead deletes their entire profile, the organization will not be deleted. Fix.
const remainingAdministrators = await transaction('OrganizationAdministrator')
.where({
id_organization: organizationId