@idsoftsource/initial-process 4.3.4 → 4.3.6

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.
@@ -2746,7 +2746,14 @@ class UserSkillSetService {
2746
2746
  // Create User Skill Set
2747
2747
  // --------------------------------
2748
2748
  createUserSkillSet(models) {
2749
- return this.httpClient.post(`FrontEndUser/CreateUserSkillSet`, models);
2749
+ // reviewForProviderId mirrors targetProviderId
2750
+ const payload = Array.isArray(models)
2751
+ ? models.map((item) => ({
2752
+ ...item,
2753
+ reviewForProviderId: item?.targetProviderId ?? item?.providerId
2754
+ }))
2755
+ : models;
2756
+ return this.httpClient.post(`FrontEndUser/CreateUserSkillSet`, payload);
2750
2757
  }
2751
2758
  // --------------------------------
2752
2759
  // Update User Skill Set