File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 11import { SchemaComposer , ObjectTypeComposerFieldConfigAsObjectDefinition } from 'graphql-compose' ;
2- import { getJobTC } from '../types/job/Job' ;
32import { getQueue } from '../helpers' ;
43import { Options } from '../definitions' ;
54import { getAsyncIterator } from '../helpers' ;
@@ -13,7 +12,6 @@ export function createOnJobRemovedFC(
1312 type : sc . createObjectTC ( {
1413 name : 'OnJobRemovedPayload' ,
1514 fields : {
16- job : getJobTC ( sc , opts ) ,
1715 queue : getQueueTC ( sc , opts ) . NonNull ,
1816 jobId : 'String!' ,
1917 queueName : 'String!' ,
@@ -29,9 +27,7 @@ export function createOnJobRemovedFC(
2927 } ,
3028 resolve : async ( { jobId, prev } , { prefix, queueName } ) => {
3129 const queue = getQueue ( prefix , queueName , opts ) ;
32- const job = await queue . getJob ( jobId ) ;
3330 return {
34- job,
3531 queue,
3632 jobId,
3733 queueName,
You can’t perform that action at this time.
0 commit comments