Skip to content

Commit 9d4971c

Browse files
committed
feat: adapt for deno?
1 parent c71204a commit 9d4971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const config = {
55
.get("NODE_ENV")
66
.default("development")
77
.asEnum(["production", "test", "development"]),
8-
BOT_TOKEN: env.get("BOT_TOKEN").required().asString(),
8+
BOT_TOKEN: Deno.env.get("BOT_TOKEN").required().asString(),
99

1010
LOCK_STORE: env.get("LOCK_STORE").default("memory").asEnum(["memory"]),
1111
};

0 commit comments

Comments
 (0)