From 8275f179c51e5c3c20b9bb5c7ee6305d4ac52edd Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 4 Mar 2025 10:44:48 -0700 Subject: [PATCH] add response type --- projects/nshmp-ws/src/app/swagger/app.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/nshmp-ws/src/app/swagger/app.component.ts b/projects/nshmp-ws/src/app/swagger/app.component.ts index 58009820d..5afbe86fe 100644 --- a/projects/nshmp-ws/src/app/swagger/app.component.ts +++ b/projects/nshmp-ws/src/app/swagger/app.component.ts @@ -52,7 +52,9 @@ export class AppComponent implements OnInit { // Check swagger endpoint first this.httpClient - .get(url) + .get(url, { + responseType: 'text', + }) .pipe( catchError((error: Error) => { this.spinnerRef.close(); -- GitLab