feat: added missing remove identity, user handler, changed title to duration for access type

This commit is contained in:
=
2024-10-25 00:59:41 +05:30
parent 833398ef39
commit 7ae28596ec
9 changed files with 131 additions and 15 deletions
@@ -39,7 +39,8 @@ export const registerProjectMembershipRouter = async (server: FastifyZodProvider
email: true,
firstName: true,
lastName: true,
id: true
id: true,
username: true
}).merge(UserEncryptionKeysSchema.pick({ publicKey: true })),
roles: z.array(
z.object({
@@ -98,7 +99,8 @@ export const registerProjectMembershipRouter = async (server: FastifyZodProvider
email: true,
firstName: true,
lastName: true,
id: true
id: true,
username: true
}).merge(UserEncryptionKeysSchema.pick({ publicKey: true })),
roles: z.array(
z.object({