@izara_project/izara-core-library-service-schemas 1.0.64 → 1.0.65

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izara_project/izara-core-library-service-schemas",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "Schemas for the service and objects it controls",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -515,14 +515,16 @@ async function uploadObjectSchemaByUseCase(_izContext) {
515
515
  }
516
516
  }
517
517
  }// per relationshipTag
518
-
519
- let arrayRelationships = [...setRelationships]
520
- await lambda.invokeSync(_izContext,
521
- await lambdaSharedLib.lambdaFunctionName(_izContext, "CreatePermissionHdrInv", "TranslateIds"),
522
- {
523
- relationships: arrayRelationships
524
- }
525
- )
518
+
519
+ if (setRelationships.size > 0) {
520
+ let arrayRelationships = [...setRelationships]
521
+ await lambda.invokeSync(_izContext,
522
+ await lambdaSharedLib.lambdaFunctionName(_izContext, "CreatePermissionHdrInv", "TranslateIds"),
523
+ {
524
+ relationships: arrayRelationships
525
+ }
526
+ )
527
+ }
526
528
 
527
529
  const linksPerObjectTyjpe = groupLinksPerObjectType(_izContext, allObjectRelationships, foundedObjectTypes)
528
530