From 515f517ab4205bc5a1e6f4e022c84df9f9c10825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20V=C4=A9nh=20Thi=E1=BB=87n=20Ph=C3=BAc?= Date: Thu, 26 Dec 2024 15:59:05 +0700 Subject: [PATCH] MARP-1740 Remove ForwardingError --- .../product-feedbacks-panel/product-feedback.service.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedback.service.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedback.service.ts index 6859da78..724b2f0a 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedback.service.ts +++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedback.service.ts @@ -93,10 +93,7 @@ export class ProductFeedbackService { .set('sort', sort); const requestURL = `${FEEDBACK_API_URL}/product/${productId}`; return this.http - .get(requestURL, { - params: requestParams, - context: new HttpContext().set(ForwardingError, true) - }) + .get(requestURL, { params: requestParams }) .pipe( tap(response => { if (page === 0) { @@ -175,4 +172,4 @@ export class ProductFeedbackService { this.page.set(0); return this.findProductFeedbacksByCriteria(); } -} \ No newline at end of file +}