Skip to content

Commit

Permalink
fix: Orb did:web endpoint for file did.json should return document no…
Browse files Browse the repository at this point in the history
…t resolution result

Orb did:web endpoint for file did.json should return document not resolution result

Closes #1447

Signed-off-by: Sandra Vrtikapa <[email protected]>
  • Loading branch information
sandrask committed Aug 24, 2022
1 parent 2af19b7 commit 1e3aec7
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 1e3aec7

Please sign in to comment.