Merge pull request #11634 from maxunbearable/bug/4054-ota-package
Fixed otaPackage api call in accordance with documentation
This commit is contained in:
commit
6c9ebc1e66
@ -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> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user