mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
fix: support inngest vercel integration
This commit is contained in:
@ -27,7 +27,7 @@ export class InngestJobProvider extends BaseJobProvider {
|
||||
if (!this._instance) {
|
||||
const client = new InngestClient({
|
||||
id: 'documenso-app',
|
||||
eventKey: process.env.NEXT_PRIVATE_INNGEST_EVENT_KEY,
|
||||
eventKey: process.env.INNGEST_EVENT_KEY || process.env.NEXT_PRIVATE_INNGEST_EVENT_KEY,
|
||||
});
|
||||
|
||||
this._instance = new InngestJobProvider({ client });
|
||||
|
||||
2
packages/tsconfig/process-env.d.ts
vendored
2
packages/tsconfig/process-env.d.ts
vendored
@ -83,6 +83,8 @@ declare namespace NodeJS {
|
||||
/**
|
||||
* Inngest environment variables
|
||||
*/
|
||||
INNGEST_EVENT_KEY?: string;
|
||||
INNGEST_SIGNING_KEY?: string;
|
||||
NEXT_PRIVATE_INNGEST_EVENT_KEY?: string;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user