Change to using new api for snippets
This commit is contained in:
parent
20da5f1e92
commit
a0e077852d
2 changed files with 9 additions and 16 deletions
|
@ -9,13 +9,6 @@ export class OrgSnippetsService {
|
|||
constructor(private api: ApiService) { }
|
||||
|
||||
public getData(): Observable<any> {
|
||||
return Observable.of(
|
||||
{
|
||||
'customersthismonth' : 196,
|
||||
'moneyspentthismonth' : 156.02,
|
||||
'pointstotal' : 506,
|
||||
'averagetransactiontoday' : 3.69
|
||||
}
|
||||
);
|
||||
return this.api.post(this.orgSnippetsUrl);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue