patch delete organization.

This commit is contained in:
charles-gauthereau
2024-12-31 11:55:04 +01:00
parent 2312567bba
commit ced953467f
2 changed files with 6 additions and 2 deletions
@@ -181,7 +181,7 @@ export const deleteOrganizationAction = userAction
console.log(organization);
const organizationUpdated = await db.organization.update({
where: {
id: parsedInput,
slug: parsedInput,
},
data: {
name: `${organization.name}-${uuid}`,