fix: failing healthcheck for spotify api

API started returning 403 on all requests
This commit is contained in:
Julian Tölle 2023-09-10 20:59:58 +02:00
parent ba241f9784
commit 689868798d

View file

@ -27,7 +27,10 @@ export class HealthCheckController {
() =>
this.http.pingCheck(
"spotify-web",
this.config.get<string>("SPOTIFY_WEB_API_URL")
this.config.get<string>("SPOTIFY_WEB_API_URL"),
{
validateStatus: () => true,
} // Successful as long as we get a valid HTTP response back }
),
() => this.typeorm.pingCheck("db"),
]);