Skip to content

Commit

Permalink
chore: more specific option
Browse files Browse the repository at this point in the history
  • Loading branch information
nick134-bit committed May 31, 2023
1 parent 499e070 commit 0b090dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/types/base/botConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export async function setBotConfig(envs: NodeJS.ProcessEnv): Promise<BotConfig>
skipRpcUrl: envs.SKIP_URL ?? "",
skipBidWallet: envs.SKIP_BID_WALLET ?? "",
skipBidRate: envs.SKIP_BID_RATE === undefined ? 0 : +envs.SKIP_BID_RATE,
tryWithoutSkip: envs.TRY_WITHOUT_SKIP === undefined || envs.TRY_WITHOUT_SKIP === "0" ? false : true,
tryWithoutSkip: envs.TRY_WITHOUT_SKIP === "1" ? true : false,
};
}

Expand Down

0 comments on commit 0b090dc

Please sign in to comment.