Skip to content

Commit

Permalink
Use jsonStringify for sending messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Oct 5, 2016
1 parent dd9490c commit fc2d282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/send/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function sendMessage(win, message, domain) {

let messages = [];

let serializedMessage = JSON.stringify({
let serializedMessage = jsonStringify({
[ CONSTANTS.WINDOW_PROPS.POSTROBOT ]: message
}, 0, 2);

Expand Down

0 comments on commit fc2d282

Please # to comment.