diff --git a/libs/ui/remote-control/src/lib/remote-control/remote-control.service.ts b/libs/ui/remote-control/src/lib/remote-control/remote-control.service.ts index 79c057901..27ccf4f0c 100644 --- a/libs/ui/remote-control/src/lib/remote-control/remote-control.service.ts +++ b/libs/ui/remote-control/src/lib/remote-control/remote-control.service.ts @@ -1,4 +1,4 @@ -import { Injectable } from '@angular/core'; +import { inject, Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { firstValueFrom } from 'rxjs'; @@ -25,8 +25,7 @@ export interface RemoteControlStatus { }) export class RemoteControlService { private readonly apiBaseUrl = '/api/remote-control'; - - constructor(private http: HttpClient) {} + private readonly http = inject(HttpClient); /** * Changes to the next channel diff --git a/libs/workspace/shell/util/project.json b/libs/workspace/shell/util/project.json index 09e65ab5d..61a84736b 100644 --- a/libs/workspace/shell/util/project.json +++ b/libs/workspace/shell/util/project.json @@ -4,7 +4,7 @@ "sourceRoot": "libs/workspace/shell/util/src", "prefix": "lib", "projectType": "library", - "tags": ["scope:workspace", "domain:workspace", "type:util"], + "tags": ["scope:workspace", "domain:workspace", "type:data-access"], "targets": { "test": { "executor": "@nx/jest:jest",