Browse Source

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

Fixed otaPackage api call in accordance with documentation
pull/11341/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
6c9ebc1e66
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/core/http/ota-package.service.ts

2
ui-ngx/src/app/core/http/ota-package.service.ts

@ -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…
Cancel
Save