mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
fix: make trigger.dev work properly
This commit is contained in:
@ -11,6 +11,8 @@ export class JobClient {
|
||||
private constructor() {
|
||||
if (process.env.NEXT_PRIVATE_JOBS_PROVIDER === 'trigger') {
|
||||
this._provider = TriggerJobProvider.getInstance();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
this._provider = LocalJobProvider.getInstance();
|
||||
|
||||
@ -6,7 +6,7 @@ import { jobsClient } from '../client';
|
||||
jobsClient.defineJob({
|
||||
id: 'send.confirmation.email',
|
||||
name: 'Send Confirmation Email',
|
||||
version: '1-0-0',
|
||||
version: '1.0.0',
|
||||
trigger: {
|
||||
name: 'send.confirmation.email',
|
||||
schema: z.object({
|
||||
|
||||
Reference in New Issue
Block a user