entity api endpoint changes : kdk

This commit is contained in:
dineshkumarkannan 2018-12-21 11:21:35 +05:30
parent 5923055a6b
commit e1517795b3
2 changed files with 6 additions and 3 deletions

View File

@ -255,4 +255,3 @@ export class FamilyDetailsComponent implements OnInit {
// }
}

View File

@ -5,6 +5,10 @@ import { catchError } from 'rxjs/operators';
import { of } from 'rxjs';
import 'rxjs/add/operator/map';
/** Environment */
import { environment } from 'environments/environment';
/** Imported Service Files Are., */
import { AwsService } from '../../../AwsService/aws.service';
/** Consant Value For Created Date And Updated Date */
@ -20,7 +24,7 @@ const currentdate = new Date().toJSON().slice(0, 19).replace('T', ' ');
* Kdk
*/
export class EntityService {
private apiUrl = "http://ssa.sineedge.com/sparqapi/api/";
private apiUrl = environment.apiEndpoint;
private serviceUrl = 'https://jsonplaceholder.typicode.com/users';
constructor(private _http: HttpClient,