Getting organization by slug, adding this in url. And working on permissions.

This commit is contained in:
charles-gauthereau
2024-12-30 12:28:11 +01:00
parent a6f48ea762
commit 379271501d
21 changed files with 76 additions and 58 deletions
@@ -80,7 +80,7 @@ export const deleteOrganizationAction = userAction
const uuid = uuidv4()
const organization = await db.organization.findFirst({
where: {
id: parsedInput,
slug: parsedInput,
}
})
console.log(organization);