iptdevs-design-system 3.1.841 → 3.1.843

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.
@@ -3583,9 +3583,8 @@ class CourseService extends IPTGeneralService {
3583
3583
  return this.http.post(serviceUrl, this.httpOptions);
3584
3584
  }
3585
3585
  getLastEventByCourse(params) {
3586
- let serviceUrl = this.SERVICE_URL + 'get/last/event/by/course/{code}';
3587
- this.generateRequestParams(params);
3588
- return this.http.post(serviceUrl, this.httpOptions);
3586
+ let serviceUrl = this.SERVICE_URL + 'get/last/event/by/course/' + params.course_code;
3587
+ return this.http.get(serviceUrl);
3589
3588
  }
3590
3589
  createCourseEvent(params) {
3591
3590
  let serviceUrl = this.SERVICE_URL + 'create/course/event';
@@ -3597,6 +3596,10 @@ class CourseService extends IPTGeneralService {
3597
3596
  this.generateRequestParams(params);
3598
3597
  return this.http.post(serviceUrl, this.httpOptions);
3599
3598
  }
3599
+ getCourseSchedule(request) {
3600
+ let serviceUrl = this.SERVICE_URL + 'course/schedule/' + request.course_code;
3601
+ return this.http.post(serviceUrl, request);
3602
+ }
3600
3603
  }
3601
3604
  CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
3602
3605
  CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });