Big Chunk of updates on way to making the sales portion working

This commit is contained in:
Amritanshu
2019-07-06 13:46:18 +05:30
parent 87076d9c00
commit d69ab0063a
83 changed files with 1621 additions and 415 deletions

View File

@ -28,7 +28,7 @@ export class GuestBookService {
list(date: string): Observable<GuestBookList> {
const options = {params: new HttpParams().set('q', (date === null) ? '' : date)};
const listUrl: string = `${url}/list`;
const listUrl: string = url;
return <Observable<GuestBookList>>this.http.get<GuestBookList>(listUrl, options)
.pipe(
catchError(this.log.handleError(serviceName, 'list'))