Commit a210a5b6 authored by jcorvi's avatar jcorvi
Browse files

Update document.service.ts

parent 97bcaa65
Pipeline #26925 passed with stage
in 2 minutes and 41 seconds
......@@ -24,7 +24,9 @@ export class DocumentService {
getDocuments(): Observable<Document[]> {
//const headers = new HttpHeaders ({ Authorization: 'Basic '+ btoa('javi'+':'+'pass2')});
alert(environment.oauth2_resource_server_allowed_url);
alert(environment.apiUrl);
return this.http.get<Document[]>(this.documentsUrl).pipe(
tap(_ => this.log('fetched documents')),
catchError(this.handleError<Document[]>('getDocuments', []))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment