changed customer dashboard endpoint
This commit is contained in:
parent
99e0a6c5d4
commit
b8f5687ac2
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue