fix(services): update all radarr/sonarr endpoints to use v3

This commit is contained in:
sct
2021-02-23 07:27:56 +00:00
parent 0acad8e9fa
commit da5ca02f81
6 changed files with 10 additions and 24 deletions

View File

@@ -242,7 +242,7 @@ class RadarrAPI extends ExternalAPI {
public getProfiles = async (): Promise<RadarrProfile[]> => {
try {
const data = await this.getRolling<RadarrProfile[]>(
`/profile`,
`/qualityProfile`,
undefined,
3600
);

View File

@@ -291,7 +291,7 @@ class SonarrAPI extends ExternalAPI {
public async getProfiles(): Promise<SonarrProfile[]> {
try {
const data = await this.getRolling<SonarrProfile[]>(
'/profile',
'/qualityProfile',
undefined,
3600
);
@@ -331,7 +331,7 @@ class SonarrAPI extends ExternalAPI {
public async getLanguageProfiles(): Promise<LanguageProfile[]> {
try {
const data = await this.getRolling<LanguageProfile[]>(
'/v3/languageprofile',
'/languageprofile',
undefined,
3600
);