diff --git a/src/health-check/health-check.controller.ts b/src/health-check/health-check.controller.ts index b5ff42623..c44124fdb 100644 --- a/src/health-check/health-check.controller.ts +++ b/src/health-check/health-check.controller.ts @@ -27,7 +27,10 @@ export class HealthCheckController { () => this.http.pingCheck( "spotify-web", - this.config.get("SPOTIFY_WEB_API_URL") + this.config.get("SPOTIFY_WEB_API_URL"), + { + validateStatus: () => true, + } // Successful as long as we get a valid HTTP response back } ), () => this.typeorm.pingCheck("db"), ]);