Fix the wrong api url

This commit is contained in:
Sercan Yemen 2018-02-05 11:28:24 +03:00
parent 8f5e947c28
commit b0101a1f8c

View File

@ -41,7 +41,7 @@ export class EcommerceDashboardService implements Resolve<any>
getProjects(): Promise<any> getProjects(): Promise<any>
{ {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.http.get('api/projects-dashboard-projects') this.http.get('api/project-dashboard-projects')
.subscribe((response: any) => { .subscribe((response: any) => {
this.projects = response; this.projects = response;
resolve(response); resolve(response);