@things-factory/labeling 10.1.303 → 10.1.304

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,9 +96,9 @@ let LabelingWorkflowService = class LabelingWorkflowService {
96
96
  */
97
97
  async executeLabelingWorkflow(input, context) {
98
98
  const workflowRepo = (0, typeorm_1.getRepository)(labeling_workflow_js_1.LabelingWorkflow);
99
- const workflow = await workflowRepo.findOne({
99
+ const workflow = input.workflowId ? await workflowRepo.findOne({
100
100
  where: { id: input.workflowId, domain: context.state.domain, deletedAt: (0, typeorm_1.IsNull)() }
101
- });
101
+ }) : null;
102
102
  if (!workflow) {
103
103
  throw new Error(`Workflow not found: ${input.workflowId}`);
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/labeling",
3
- "version": "10.1.303",
3
+ "version": "10.1.304",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "files": [
@@ -44,11 +44,11 @@
44
44
  "@operato/graphql": "^10.29.69",
45
45
  "@operato/shell": "^10.29.69",
46
46
  "@things-factory/ai-inference": "^10.1.298",
47
- "@things-factory/auth-base": "^10.1.303",
48
- "@things-factory/dataset": "^10.1.303",
47
+ "@things-factory/auth-base": "^10.1.304",
48
+ "@things-factory/dataset": "^10.1.304",
49
49
  "@things-factory/env": "^10.1.298",
50
- "@things-factory/integration-label-studio": "^10.1.303",
51
- "@things-factory/shell": "^10.1.303",
50
+ "@things-factory/integration-label-studio": "^10.1.304",
51
+ "@things-factory/shell": "^10.1.304",
52
52
  "graphql-tag": "^2.12.6",
53
53
  "i18next": "^23.0.0",
54
54
  "lit": "^3.0.0",
@@ -62,5 +62,5 @@
62
62
  "orchestration",
63
63
  "automation"
64
64
  ],
65
- "gitHead": "2d5888ebfc0a004b000a4aa3dfb8ff9561e75ff9"
65
+ "gitHead": "76ce38519069ba90190d69d2a9d6c130bc981cf0"
66
66
  }