Skip to content

Commit

Permalink
enable more use cases by returning the xml object in callback
Browse files Browse the repository at this point in the history
  • Loading branch information
troyfactor4 committed Apr 13, 2020
1 parent 01d462d commit 234bc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signed-xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ SignedXml.prototype.computeSignature = function(xml, opts, callback) {
signatureDoc.insertBefore(self.createSignature(prefix), signedInfoNode.nextSibling)
self.signatureXml = signatureDoc.toString()
self.signedXml = doc.toString()
callback()
callback(null, self)
}
})
}
Expand Down

0 comments on commit 234bc0b

Please sign in to comment.