More placeholder code for customer dashboard

This commit is contained in:
piratefinn 2017-12-12 15:10:44 +00:00
parent c0e25c7467
commit a2ad5dc1a0
9 changed files with 174 additions and 149 deletions

View file

@ -0,0 +1,15 @@
import { Injectable } from '@angular/core';
import { ApiService } from './api-service';
import { Observable } from 'rxjs/Rx';
@Injectable()
export class CustSnippetsService {
private orgSnippetsUrl = '/v1/organisation/snippets';
constructor(private api: ApiService) { }
// This endpoint should mimic basicStats
public getData(): Observable<any> {
return this.api.post(this.orgSnippetsUrl);
}
}