Skip to content

Commit 93650b5

Browse files
perf(org-invites): move organization invite emails to background worker
1 parent 1a71045 commit 93650b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/env.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const schema = z.object({
2020
AUTH_URL: z.string().optional(),
2121
AUTH_SECRET: z.string(),
2222
BASE_URL: z.string(),
23-
QSTASH_URL: z.string(),
24-
QSTASH_TOKEN: z.string(),
25-
QSTASH_CURRENT_SIGNING_KEY: z.string(),
26-
QSTASH_NEXT_SIGNING_KEY: z.string(),
23+
QSTASH_URL: z.string().optional(),
24+
QSTASH_TOKEN: z.string().optional(),
25+
QSTASH_CURRENT_SIGNING_KEY: z.string().optional(),
26+
QSTASH_NEXT_SIGNING_KEY: z.string().optional(),
2727
});
2828

2929
export const env = schema.parse(process.env);

0 commit comments

Comments
 (0)