Merge pull request #11634 from maxunbearable/bug/4054-ota-package

Fixed otaPackage api call in accordance with documentation
This commit is contained in:
Igor Kulikov 2024-09-12 09:53:43 +03:00 committed by GitHub
commit 6c9ebc1e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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> {