Change to using new api for snippets

This commit is contained in:
Tom Bloor 2017-09-07 15:36:19 +01:00
parent 20da5f1e92
commit a0e077852d
2 changed files with 9 additions and 16 deletions

View file

@ -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);
}
}