Minor text updates

This commit is contained in:
Tuan Dang
2024-09-12 17:26:56 -07:00
parent f63da87c7f
commit bb3da75870
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1084,7 +1084,7 @@ export const CERTIFICATE_AUTHORITIES = {
serialNumber: "The serial number of the CA certificate" serialNumber: "The serial number of the CA certificate"
}, },
GET_CERT_BY_ID: { GET_CERT_BY_ID: {
caId: "The ID of the CA to get the certificate from", caId: "The ID of the CA to get the CA certificate from",
caCertId: "The ID of the CA certificate to get" caCertId: "The ID of the CA certificate to get"
}, },
GET_CA_CERTS: { GET_CA_CERTS: {
@@ -149,7 +149,7 @@ export const registerCaRouter = async (server: FastifyZodProvider) => {
rateLimit: readLimit rateLimit: readLimit
}, },
schema: { schema: {
description: "Public endpoint for fetching DER-encoded Certificate of CA", description: "Get DER-encoded certificate of CA",
params: z.object({ params: z.object({
caId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caId), caId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caId),
caCertId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caCertId) caCertId: z.string().trim().describe(CERTIFICATE_AUTHORITIES.GET_CERT_BY_ID.caCertId)