Skip to content

Commit

Permalink
fix: failing healthcheck for spotify api
Browse files Browse the repository at this point in the history
API started returning 403 on all requests
  • Loading branch information
apricote committed Sep 10, 2023
1 parent ba241f9 commit 6898687
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/health-check/health-check.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
]);
Expand Down

0 comments on commit 6898687

Please sign in to comment.