Services
This commit is contained in:
@@ -6,13 +6,13 @@ import { environment } from '../../environments/environment';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class AppService {
|
||||
export class ServiceService {
|
||||
|
||||
constructor(private http: HttpClient) {
|
||||
}
|
||||
|
||||
apps() {
|
||||
return this.http.get(environment.apiUrl + "/apps");
|
||||
services() {
|
||||
return this.http.get(environment.apiUrl + "/services");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user