diff --git a/modules/transport/PostMessageTransportBackend.js b/modules/transport/PostMessageTransportBackend.js index d0a72d0a0..bd158ca4b 100644 --- a/modules/transport/PostMessageTransportBackend.js +++ b/modules/transport/PostMessageTransportBackend.js @@ -158,7 +158,7 @@ export default class PostMessageTransportBackend { // Transport class. That's why we are passing only the original // object passed by the consumer of the Transport class which is // message.data. - this._sendLegacyMessage(message.data); + this._sendLegacyMessage(message.data || {}); } }