mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 07:35:09 +00:00
Review fixes:
- Review envName from endpoint params and derive it - Use variables in logic blocks - New function on frontend + memoization
This commit is contained in:
@@ -155,7 +155,6 @@ export const registerAccessApprovalRequestRouter = async (server: FastifyZodProv
|
||||
}),
|
||||
body: z.object({
|
||||
status: z.enum([ApprovalStatus.APPROVED, ApprovalStatus.REJECTED]),
|
||||
envName: z.string().optional(), // For logging
|
||||
bypassReason: z.string().min(10).max(1000).optional()
|
||||
}),
|
||||
response: {
|
||||
@@ -173,7 +172,6 @@ export const registerAccessApprovalRequestRouter = async (server: FastifyZodProv
|
||||
actorAuthMethod: req.permission.authMethod,
|
||||
requestId: req.params.requestId,
|
||||
status: req.body.status,
|
||||
envName: req.body.envName,
|
||||
bypassReason: req.body.bypassReason
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user