mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix: failing healthcheck for spotify api
API started returning 403 on all requests
This commit is contained in:
parent
ba241f9784
commit
689868798d
1 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,10 @@ export class HealthCheckController {
|
||||||
() =>
|
() =>
|
||||||
this.http.pingCheck(
|
this.http.pingCheck(
|
||||||
"spotify-web",
|
"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"),
|
() => this.typeorm.pingCheck("db"),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue