diff --git a/src/faq/handler/get-faq-details-handler.ts b/src/faq/handler/get-faq-details-handler.ts index eafb3006b..bfae262f0 100644 --- a/src/faq/handler/get-faq-details-handler.ts +++ b/src/faq/handler/get-faq-details-handler.ts @@ -40,7 +40,13 @@ export class GetFaqDetailsHandler { return this.apiService.fetch(apiRequest) .pipe( map((response) => { - return response.body; + let resp; + try { + resp = JSON.parse(response.body.trim()); + } catch (error) { + resp = response.body; + } + return resp; }) ); }