diff --git a/api/search/src/IpcClient.ts b/api/search/src/IpcClient.ts index 0898d00..3bd9e7e 100644 --- a/api/search/src/IpcClient.ts +++ b/api/search/src/IpcClient.ts @@ -2,12 +2,17 @@ import { IpcClientService } from "@autoplex/ipc"; import { Microservice } from "@autoplex/microservice"; import { SOCKET_PATH } from "./constants"; -export abstract class IpcClient extends IpcClientService +export class IpcClient extends IpcClientService { + /** + * The name of the service + */ + public readonly NAME = "Search"; + /** * The path to the socket file */ - protected SOCKET_PATH = SOCKET_PATH; + protected readonly SOCKET_PATH = SOCKET_PATH; /** * Get the details of a movie diff --git a/api/torrent/src/IpcClient.ts b/api/torrent/src/IpcClient.ts index d997f63..23a8331 100644 --- a/api/torrent/src/IpcClient.ts +++ b/api/torrent/src/IpcClient.ts @@ -3,12 +3,17 @@ import { Microservice } from "@autoplex/microservice"; import { SOCKET_PATH } from "./constants"; import { ISerializedTorrent, ITorrent } from "./schema"; -export abstract class IpcClient extends IpcClientService +export class IpcClient extends IpcClientService { + /** + * The name of the service + */ + public readonly NAME = "Torrent"; + /** * The path to the socket file */ - protected SOCKET_PATH = SOCKET_PATH; + protected readonly SOCKET_PATH = SOCKET_PATH; /** * Add a torrent to the client