use real env variables

This commit is contained in:
Torben Haack
2024-10-10 13:16:23 +02:00
parent 7c93eedbb4
commit d09eeb9d01
2 changed files with 1 additions and 13 deletions

View File

@@ -1,7 +1,6 @@
import { env } from "@/utils/env";
import { GitHub } from "arctic";
export const github = new GitHub(env.OAUTH.CLIENT_ID, env.OAUTH.CLIENT_SECRET, {
export const github = new GitHub(process.env.OAUTH_CLIENT_ID as string, process.env.OAUTH_CLIENT_SECRET as string, {
enterpriseDomain: "https://git.i.mercedes-benz.com",
});