Browse Source

[4054] fixed otaPackage api call in accordance with documentation

pull/11634/head
mpetrov 2 years ago
parent
commit
be5bd1299b
  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