Skip to content

Commit e8f20fb

Browse files
committed
Removed subscribe.into when is executing this function to avoid double execution
1 parent c4c1b1a commit e8f20fb

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

.editorconfig

Whitespace-only changes.

src/protocol/subscribe.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dop.protocol.subscribe = function(node, params) {
66
request.promise.into = function(object) {
77
if (dop.isObjectRegistrable(object))
88
request.into = (dop.isRegistered(object)) ? dop.getObjectProxy(object) : object;
9+
delete request.promise.into
910
return request.promise;
1011
};
1112
dop.core.storeSendMessages(node, request);

0 commit comments

Comments
 (0)