Skip to content

Commit

Permalink
fix: reference metadata from payload
Browse files Browse the repository at this point in the history
  • Loading branch information
viglucci committed Dec 11, 2021
1 parent 15a0caa commit 7c1bea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rsocket-core/src/RSocketMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ class RSocketMachineImpl<D, M> implements RSocketMachine<D, M> {
flags |= FLAGS.COMPLETE;
this._subscriptions.delete(streamId);
}
if (metadata !== undefined) {
if (payload.metadata !== undefined) {
// eslint-disable-next-line no-bitwise
flags |= FLAGS.METADATA;
}
Expand Down

0 comments on commit 7c1bea9

Please # to comment.