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

@@ -59,7 +59,11 @@ export const mysqlRouter = createTRPCRouter({
const newMysql = await createMysql(input);
if (ctx.user.rol === "member") {
await addNewService(ctx.user.id, newMysql.mysqlId);
await addNewService(
ctx.user.id,
newMysql.mysqlId,
project.organizationId,
);
}
await createMount({