Skip to content

Commit

Permalink
fix config values
Browse files Browse the repository at this point in the history
  • Loading branch information
MalpenZibo committed Nov 5, 2024
1 parent fa71e25 commit 3d03e98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const AnacCertifiedAttributesImporterConfig = LoggerConfig.and(
z
.object({
TENANT_PROCESS_URL: APIEndpoint,
RECORDS_PROCESS_BATCH_SIZE: z.number(),
RECORDS_PROCESS_BATCH_SIZE: z.coerce.number(),
ANAC_TENANT_ID: z.string(),
})
.transform((c) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { z } from "zod";
export const SftpConfig = z
.object({
SFTP_HOST: z.string(),
SFTP_PORT: z.coerce.number().min(1001),
SFTP_PORT: z.coerce.number(),
SFTP_USERNAME: z.string(),
SFTP_PASSWORD: z.string(),
SFTP_FILENAME_PREFIX: z.string(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const IvassCertifiedAttributesImporterConfig = LoggerConfig.and(
SOURCE_URL: z.string(),
HISTORY_BUCKET_NAME: z.string(),
TENANT_PROCESS_URL: APIEndpoint,
RECORDS_PROCESS_BATCH_SIZE: z.number(),
RECORDS_PROCESS_BATCH_SIZE: z.coerce.number(),
IVASS_TENANT_ID: z.string(),
})
.transform((c) => ({
Expand Down

0 comments on commit 3d03e98

Please sign in to comment.