This commit is contained in:
Ben Wilson
2023-06-25 09:16:27 -04:00
parent 3ba7ef8ca9
commit 0c0ca21ac8
5 changed files with 86 additions and 7 deletions
+3
View File
@@ -14,6 +14,9 @@ export class WorkerService {
private httpClient: HttpClient
) { }
public getGroupWorkerInfo(address: string, workerName: string): Observable<any> {
return this.httpClient.get(`${environment.API_URL}/api/client/${address}/${workerName}`);
}
public getWorkerInfo(address: string, workerName: string, workerId: string): Observable<any> {
return this.httpClient.get(`${environment.API_URL}/api/client/${address}/${workerName}/${workerId}`);
}