Skip to content

Commit

Permalink
Update packages/core/src/transport/HttpOutboundTransport.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Timo Glastra <timo@animo.id>
Signed-off-by: annelein <anneleinvanreijen@gmail.com>
  • Loading branch information
Annelein and TimoGlastra committed Feb 14, 2022
1 parent 163019b commit b781e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/transport/HttpOutboundTransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class HttpOutboundTransport implements OutboundTransport {

try {
const encryptedMessage = JSON.parse(responseMessage)
if (!isValidJweStucture(responseMessage)) {
if (!isValidJweStucture(encryptedMessage)) {
this.logger.error(
`Received a response from the other agent but the structure of the incoming message is not a DIDComm message: ${responseMessage}`
)
Expand Down

0 comments on commit b781e0e

Please sign in to comment.