Skip to content

Commit

Permalink
🐛 Fix: Pass correct arguments (NamedNode, not string)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas committed Dec 6, 2023
1 parent 425251d commit 3974fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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.value;
const oidcIssuer = POD_PROVIDER_URI.value;
const clientId = CLIENT_ID;
const oidcIssuer = POD_PROVIDER_URI;
const redirectUrl = window.location.href;
// Return
return {
Expand Down
4 changes: 1 addition & 3 deletions app/_logic/data/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import { appShape } from "../../_services/app/shape";
//* Main
export async function getData(fetch) {
// Logic
const document = APP_WEBID_DOC.value;
const uri = APP_WEBID.value;
const thing = await getThing(fetch, document, uri);
const thing = await getThing(fetch, APP_WEBID_DOC, APP_WEBID);
const lang = "en";
const properties = getProperties(thing, appShape, lang);
// Props
Expand Down

0 comments on commit 3974fbd

Please sign in to comment.