Added working snippets and placeholder pie chart
This commit is contained in:
parent
a2ad5dc1a0
commit
846c21f967
9 changed files with 142 additions and 41 deletions
|
@ -4,12 +4,12 @@ import { Observable } from 'rxjs/Rx';
|
|||
|
||||
@Injectable()
|
||||
export class CustSnippetsService {
|
||||
private orgSnippetsUrl = '/v1/organisation/snippets';
|
||||
private custSnippetsUrl = '/v1/customer/snippets';
|
||||
|
||||
constructor(private api: ApiService) { }
|
||||
|
||||
// This endpoint should mimic basicStats
|
||||
public getData(): Observable<any> {
|
||||
return this.api.post(this.orgSnippetsUrl);
|
||||
return this.api.post(this.custSnippetsUrl);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue