minor style updates to approvals

This commit is contained in:
Vladyslav Matsiiako
2023-10-05 20:34:50 +05:30
committed by Akhil Mohan
parent df636c91b4
commit 7caac2e64c
8 changed files with 27 additions and 24 deletions
+2 -2
View File
@@ -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."
})
});