fix: support custom inngest app ids

This commit is contained in:
Mythie
2024-08-14 16:26:58 +10:00
parent f568025a0b
commit 063ed966df
3 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export class InngestJobProvider extends BaseJobProvider {
static getInstance() {
if (!this._instance) {
const client = new InngestClient({
id: 'documenso-app',
id: process.env.NEXT_PRIVATE_INNGEST_APP_ID || 'documenso-app',
eventKey: process.env.INNGEST_EVENT_KEY || process.env.NEXT_PRIVATE_INNGEST_EVENT_KEY,
});