Skip to content

Commit

Permalink
bugfix: workaround for server
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed May 12, 2024
1 parent e08d20d commit 2567478
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/app-init.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ export class AppInitService {

this._gsBuilder.apiURL = AppInitService.settings.apiURL;

this._knoraService.projectIRI = AppInitService.settings.projectIRI;
this._knoraService.projectIRI = "http://rdfh.ch/projects/qhOve-cKTmSkiIU81W0lDQ";

this._knoraService.knoraApiConnection = AppInitService.settings.apiURL;

this._knoraService.appLogin(AppInitService.settings.email, AppInitService.settings.pwd)
this._knoraService.appLogin("[email protected]", "2bon2btitq")
.pipe(
mergeMap(() => this._knoraService.getAllLists(AppInitService.settings.projectIRI)),
mergeMap(() => this._knoraService.getAllLists("http://rdfh.ch/projects/qhOve-cKTmSkiIU81W0lDQ")),
mergeMap((lists: ListNodeInfo[]) => forkJoin<Observable<List>>(lists.map((list: ListNodeInfo) => this._knoraService.getList(list.id))))
)
.subscribe((fullList: List[]) => {
Expand Down

0 comments on commit 2567478

Please sign in to comment.