mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 11:29:42 +00:00
minor style updates to approvals
This commit is contained in:
committed by
Akhil Mohan
parent
df636c91b4
commit
7caac2e64c
@@ -26,7 +26,7 @@ export const CreateSecretApprovalRule = z.object({
|
||||
})
|
||||
.refine((data) => data.approvals <= data.approvers.length, {
|
||||
path: ["approvals"],
|
||||
message: "Approvals should be lower than approvals"
|
||||
message: "The number of approvals should be lower than the number of approvers."
|
||||
})
|
||||
});
|
||||
|
||||
@@ -43,7 +43,7 @@ export const UpdateSecretApprovalRule = z.object({
|
||||
})
|
||||
.refine((data) => data.approvals <= data.approvers.length, {
|
||||
path: ["approvals"],
|
||||
message: "Approvals should be lower than approvals"
|
||||
message: "The number of approvals should be lower than the number of approvers."
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user