misc
This commit is contained in:
@@ -14,7 +14,7 @@ export class WorkerService {
|
||||
private httpClient: HttpClient
|
||||
) { }
|
||||
|
||||
public getWorkerInfo(address: string, workerId: string): Observable<any> {
|
||||
return this.httpClient.get(`${environment.API_URL}/api/client/${address}/${workerId}`);
|
||||
public getWorkerInfo(address: string, workerName: string, workerId: string): Observable<any> {
|
||||
return this.httpClient.get(`${environment.API_URL}/api/client/${address}/${workerName}/${workerId}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user