@hmcts/ccpay-web-component 5.0.10-beta19 → 5.0.10-beta20

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.
@@ -240,8 +240,6 @@
240
240
  this.cd.detectChanges();
241
241
  };
242
242
  PaymentLibComponent.prototype.ngOnInit = function () {
243
- console.log("Component getting initialized");
244
- console.log("NOTIFICATION_API_ROOT : " + this.NOTIFICATION_API_ROOT);
245
243
  this.paymentLibService.setApiRootUrl(this.API_ROOT);
246
244
  this.paymentLibService.setBulkScanApiRootUrl(this.BULKSCAN_API_ROOT);
247
245
  this.paymentLibService.setRefundndsApiRootUrl(this.REFUNDS_API_ROOT);
@@ -1033,7 +1031,7 @@
1033
1031
  .pipe(operators.catchError(this.errorHandlerService.handleError));
1034
1032
  };
1035
1033
  NotificationService.prototype.getNotificationPreview = function (body) {
1036
- return this.https.post(this.paymentLibService.NOTIFICATION_API_ROOT + "/doc-preview", body).pipe(operators.catchError(this.errorHandlerService.handleError));
1034
+ return this.https.post(this.paymentLibService.REFUNDS_API_ROOT + "/doc-preview", body).pipe(operators.catchError(this.errorHandlerService.handleError));
1037
1035
  };
1038
1036
  NotificationService.prototype.getNotificationInstructionType = function (paymentChannel, paymentMethod) {
1039
1037
  if (paymentChannel === 'bulk scan' && paymentMethod === 'postal order') {