[4054] fixed otaPackage api call in accordance with documentation

This commit is contained in:
mpetrov 2024-09-11 19:08:21 +03:00
parent d993b01638
commit be5bd1299b

View File

@ -59,7 +59,7 @@ export class OtaPackageService {
} }
public getOtaPackage(otaPackageId: string, config?: RequestConfig): Observable<OtaPackage> { public getOtaPackage(otaPackageId: string, config?: RequestConfig): Observable<OtaPackage> {
return this.http.get<OtaPackage>(`/api/otaPackages/${otaPackageId}`, defaultHttpOptionsFromConfig(config)); return this.http.get<OtaPackage>(`/api/otaPackage/${otaPackageId}`, defaultHttpOptionsFromConfig(config));
} }
public getOtaPackageInfo(otaPackageId: string, config?: RequestConfig): Observable<OtaPackageInfo> { public getOtaPackageInfo(otaPackageId: string, config?: RequestConfig): Observable<OtaPackageInfo> {