Skip to content

Commit

Permalink
fix: last step
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Nov 13, 2024
1 parent b5c2f5b commit 4c1aafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/next-sdjwt-workshop/src/steps/Step6.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async function wait(callback) {
const prismDidResponse = await registerPrismDid.json();
console.log('Prism DID created:', { longFormDid: prismDidResponse.longFormDid });
const publishPrismDid = await fetch(\`http://localhost:3000/cloud-agent/did-registrar/dids/${prismDidResponse.longFormDid}/publications\`, {
const publishPrismDid = await fetch(\`http://localhost:3000/cloud-agent/did-registrar/dids/\${prismDidResponse.longFormDid}/publications\`, {
method: "POST",
headers: { "Content-Type": "application/json" }
});
Expand Down Expand Up @@ -304,7 +304,7 @@ async function wait(callback) {
await agent.sendMessage(presentation.makeMessage());
try {
await wait(async () => {
const verifyPresentation = await fetch(\`http://localhost:3000/cloud-agent/present-proof/presentations/${presentationId}\`, {
const verifyPresentation = await fetch(\`http://localhost:3000/cloud-agent/present-proof/presentations/\${presentationId}\`, {
method: "GET",
headers: { "Content-Type": "application/json" }
});
Expand Down

0 comments on commit 4c1aafd

Please sign in to comment.