Skip to content

Commit 61ae426

Browse files
committed
post orbit message on listen to callback
1 parent 5a71342 commit 61ae426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/embark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ EmbarkJS.Messages.Orbit.listenTo = function(options) {
373373
this.orbit.events.on('message', (topics, message) => {
374374
// Get the actual content of the message
375375
self.orbit.getPost(message.payload.value, true).then((post) => {
376-
promise.cb(post);
376+
promise.cb(post.content);
377377
});
378378
});
379379

0 commit comments

Comments
 (0)