Skip to content

Commit

Permalink
fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
lispking committed Feb 10, 2025
1 parent 12a857b commit 36dc731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-navi/src/enviroment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { z } from "zod";

export const naviEnvSchema = z.object({
NAVI_PRIVATE_KEY: z.string().min(1, "NAVI private key is required"),
NAVI_NETWORK: z.enum(["mainnet", "devnet", "localnet"]) || z.string().min(1, "NAVI NETWORK is required") // rpc url,
NAVI_NETWORK: z.enum(["mainnet", "devnet", "localnet"]).or(z.string().min(1, "NAVI NETWORK is required")) // rpc url,
});

export type NaviConfig = z.infer<typeof naviEnvSchema>;
Expand Down

0 comments on commit 36dc731

Please sign in to comment.