Merge pull request #3789 from Infisical/misc/add-custom-role-slug-in-fetch-group

misc: add custom role slug in fetch group
This commit is contained in:
Daniel Hougaard
2025-06-16 22:40:37 +04:00
committed by GitHub
2 changed files with 22 additions and 2 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ export const registerGroupRouter = async (server: FastifyZodProvider) => {
id: z.string().trim().describe(GROUPS.GET_BY_ID.id)
}),
response: {
200: GroupsSchema
200: GroupsSchema.extend({
customRoleSlug: z.string().nullable()
})
}
},
handler: async (req) => {