Skip to content

Commit

Permalink
Merge pull request #1 from Bhutan-NDI/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Sheetal-ayanworks authored Apr 30, 2024
2 parents 65045fb + 6827038 commit d93cc21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json ./
COPY --from=build /app/dist ./dist
EXPOSE 3000
#CMD [ "npm", "run", "preview" ]
CMD ["deno", "run", "--allow-net", "--allow-read", "--allow-env", "./dist/server/entry.mjs"]
9 changes: 6 additions & 3 deletions src/components/Verification/Verification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,16 @@ const VerificationCred = () => {
schemaId: schemaId,
}));

const verifyCredentialPayload: VerifyCredentialPayload = {
const verifyCredentialPayload = {
connectionId: JSON.parse(userData)[0]?.connectionId,
attributes: attributes,
comment: 'string',
orgId: orgId,
proofFormats: {
indy: {
attributes: attributes,
}
}
};

if (attributes) {
const response = await verifyCredential(verifyCredentialPayload);
const { data } = response as AxiosResponse;
Expand Down

0 comments on commit d93cc21

Please sign in to comment.