20 lines
396 B
TypeScript
20 lines
396 B
TypeScript
/** Angular Imports */
|
|
import { Injectable } from '@angular/core';
|
|
import { HttpClient } from '@angular/common/http';
|
|
|
|
/** rxjs Imports */
|
|
import { Observable } from 'rxjs';
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class VersionService {
|
|
|
|
constructor(private http: HttpClient) { }
|
|
|
|
getBackendInfo(): Observable<any> {
|
|
return this.http.get('/fineract-provider/actuator/info');
|
|
}
|
|
|
|
}
|