Skip to content

Commit

Permalink
🐛 Fix: Pass correct arguments (string, not NamedNode) [confirmed]
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas committed Dec 6, 2023
1 parent 3974fbd commit 3ceb620
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/_logic/auth/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { CLIENT_ID, POD_PROVIDER_URI } from "../../_services/app/nodes";

export async function getOptions() {
// Logic
const clientId = CLIENT_ID;
const oidcIssuer = POD_PROVIDER_URI;
const clientId = CLIENT_ID.value;
const oidcIssuer = POD_PROVIDER_URI.value;
const redirectUrl = window.location.href;
// Return
return {
Expand Down
4 changes: 3 additions & 1 deletion app/_logic/data/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ import { appShape } from "../../_services/app/shape";
//* Main
export async function getData(fetch) {
// Logic
const thing = await getThing(fetch, APP_WEBID_DOC, APP_WEBID);
const document = APP_WEBID_DOC.value;
const uri = APP_WEBID.value;
const thing = await getThing(fetch, document, uri);
const lang = "en";
const properties = getProperties(thing, appShape, lang);
// Props
Expand Down

0 comments on commit 3ceb620

Please sign in to comment.