diff --git a/ui-ngx/src/app/core/http/device.service.ts b/ui-ngx/src/app/core/http/device.service.ts index 23dd53c2fd..048a6196f7 100644 --- a/ui-ngx/src/app/core/http/device.service.ts +++ b/ui-ngx/src/app/core/http/device.service.ts @@ -155,11 +155,14 @@ export class DeviceService { return this.http.delete(`/api/customer/device/${deviceName}/claim`, defaultHttpOptionsFromConfig(config)); } - public assignDeviceToEdge(edgeId: string, deviceId: string, config?: RequestConfig): Observable { - return this.http.post(`/api/edge/${edgeId}/device/${deviceId}`, defaultHttpOptionsFromConfig(config)); + public assignDeviceToEdge(edgeId: string, deviceId: string, + config?: RequestConfig): Observable { + return this.http.post(`/api/edge/${edgeId}/device/${deviceId}`, + defaultHttpOptionsFromConfig(config)); } - public unassignDeviceFromEdge(edgeId: string, deviceId: string, config?: RequestConfig) { + public unassignDeviceFromEdge(edgeId: string, deviceId: string, + config?: RequestConfig) { return this.http.delete(`/api/edge/${edgeId}/device/${deviceId}`, defaultHttpOptionsFromConfig(config)); }