iptdevs-design-system 3.1.168 → 3.1.169

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.
@@ -879,6 +879,11 @@ class UserService extends IPTGeneralService {
879
879
  this.generateRequestParams(params);
880
880
  return this.http.post(serviceUrl, this.httpOptions);
881
881
  }
882
+ obtainReferralUsers(token) {
883
+ let serviceUrl = this.SERVICE_URL + 'post/obtain/referral/users';
884
+ this.generateRequestParams(token);
885
+ return this.http.post(serviceUrl, this.httpOptions);
886
+ }
882
887
  }
883
888
  UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
884
889
  UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
@@ -4276,7 +4281,7 @@ class ModalReferredComponent {
4276
4281
  param: form.value.searchUser,
4277
4282
  };
4278
4283
  if (form.value.searchUser != "") {
4279
- this.userService.getStudent(request).subscribe((response) => {
4284
+ this.userService.obtainReferralUsers(request).subscribe((response) => {
4280
4285
  if (response.data == null) {
4281
4286
  this.userExists = false;
4282
4287
  Swal.fire({