Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

Commit 42c1df1

Browse files
committed
Simple fix for issue #5
1 parent a8ba72f commit 42c1df1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/stomp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ Stomp.prototype.send = function(headers, want_receipt) {
333333
var self = this;
334334
destination = headers['destination'];
335335
body = headers['body'] || null;
336+
delete headers['body'];
336337
headers['session'] = self.session;
337338
return send_command(this, 'SEND', headers, body, want_receipt)
338339
};

0 commit comments

Comments
 (0)