commit 010fa536f01ff00404ce7ee4de5ab8db3c5c6930
parent 175a0e071fedc55366f5ec8ebea510fc66e1ccd2
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 21 Mar 2018 13:25:21 +0100
Debug papers API
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/papers-list/papers-list.component.ts b/src/app/papers-list/papers-list.component.ts
@@ -43,7 +43,7 @@ export class PapersListComponent {
.concat(Observable.throw({error: 'Sorry, there was an error (after 5 retries). This probably means we can\'t reach our API Server :('}));
})
.subscribe(
- data => { this.data = this.chunk(data, 3); },
+ data => { this.data = this.chunk(data, 3); console.log(JSON.stringify(data)); },
err => {
this.toastr.error(err['error'], 'Error connecting API', {
positionClass: 'toast-top-center',