feat: add organization invitation system and update user profile management

This commit is contained in:
Mauricio Siu
2025-02-22 02:31:04 -06:00
parent 5ae103e779
commit b02195db17
11 changed files with 169 additions and 100 deletions

View File

@@ -64,7 +64,11 @@ export const postgresRouter = createTRPCRouter({
}
const newPostgres = await createPostgres(input);
if (ctx.user.rol === "member") {
await addNewService(ctx.user.id, newPostgres.postgresId);
await addNewService(
ctx.user.id,
newPostgres.postgresId,
project.organizationId,
);
}
await createMount({