Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/TestEndpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export class TestEndpoints {
async issue(credential) {
const {issuer} = this;
const issueBody = createRequestBody({issuer, vc: credential});
return post(issuer, issueBody);
const response = await post(issuer, issueBody);
return response?.verifiableCredential || response;
}
// FIXME implement createVp for implementation endpoints in the future
// @see https://w3c-ccg.github.io/vc-api/#create-presentation
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.