This commit is contained in:
Ben Wilson
2023-06-20 23:11:11 -04:00
parent 9aafc19923
commit d9b18b920c
17 changed files with 83 additions and 20 deletions
+18
View File
@@ -0,0 +1,18 @@
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { environment } from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class ClientService {
constructor(
private httpClient: HttpClient
) { }
public getClientInfo(address: string) {
return this.httpClient.get(`${environment.API_URL}/api/client/${address}`);
}
}