Просмотр исходного кода

fix(docs): Fix import path in JobQueue docs

Michael Bromley 5 месяцев назад
Родитель
Сommit
a2dc08c796
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      docs/docs/guides/developer-guide/worker-job-queue/index.mdx

+ 2 - 1
docs/docs/guides/developer-guide/worker-job-queue/index.mdx

@@ -430,7 +430,8 @@ by early cancellation:
 ```ts
 import { Injectable, OnModuleInit } from '@nestjs/common';
 import { JobQueue, JobQueueService, Product, TransactionalConnection,
-    SerializedRequestContext, RequestContext, Job, JobState } from '@vendure/core';
+    SerializedRequestContext, RequestContext } from '@vendure/core';
+import { JobState } from '@vendure/common/lib/generated-types';
 import { IsNull } from 'typeorm';
 
 @Injectable()