diff --git a/index.js b/index.js index 85c8605..9a40451 100644 --- a/index.js +++ b/index.js @@ -80,7 +80,7 @@ module.exports = () => { await handler({ body: getBodyDecoded( brokeredMessage.body, - brokeredMessage.applicationProperties.contentEncoding, + applicationProperties.contentEncoding, ), applicationProperties, properties: getProperties(brokeredMessage), diff --git a/package.json b/package.json index 4aa87c7..d7568a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "systemic-azure-bus", - "version": "3.0.0", + "version": "3.1.0", "description": "A systemic component for azure bus", "main": "index.js", "scripts": {