changed customer dashboard endpoint

This commit is contained in:
piratefinn 2017-12-18 12:57:40 +00:00
parent b91f93a58c
commit afa316097c
3 changed files with 5 additions and 5 deletions

View file

@ -114,7 +114,7 @@ export class DashboardCustomerComponent implements OnInit {
constructor(
private api: ApiService,
) {
this.api.basicStats().subscribe(
this.api.customerStats().subscribe(
result => {
this.setWeekPurchaseList(result.weeks);
this.setSectorList(result.sectors);