@opexa/portal-sdk 0.44.17 → 0.44.18

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/dist/index.cjs CHANGED
@@ -6556,8 +6556,8 @@ var Transformer = class {
6556
6556
  natureOfWork: data.natureOfWork,
6557
6557
  placeOfBirth: data.placeOfBirth,
6558
6558
  sourceOfIncome: data.sourceOfIncome,
6559
- selfieImage: this.file(data.selfieImage),
6560
- idFrontImage: this.file(data.idFrontImage)
6559
+ selfieImage: data?.selfieImage ? this.file(data?.selfieImage) : null,
6560
+ idFrontImage: data?.idFrontImage ? this.file(data?.idFrontImage) : null
6561
6561
  };
6562
6562
  return o;
6563
6563
  }