Skip to content

Commit

Permalink
Merge pull request #1449 from sandrask/issue-1447
Browse files Browse the repository at this point in the history
fix: Orb did:web endpoint for file did.json should return document
  • Loading branch information
fqutishat authored Aug 24, 2022
2 parents c5fef1a + 1e3aec7 commit 97eec12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/discovery/endpoint/restapi/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (o *Operation) orbWebDIDHandler(rw http.ResponseWriter, r *http.Request) {
return
}

writeResponse(rw, result)
writeResponse(rw, result.Document)
}

// webDIDHandler swagger:route Get /.well-known/did.json discovery wellKnownDIDReq
Expand Down

0 comments on commit 97eec12

Please sign in to comment.