Skip to content

Commit cfaf729

Browse files
committed
fix(examples): Aligned custom adapter to latest adapter API
1 parent 6b580c4 commit cfaf729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/conversation-custom-adapter/adapters/createPostalAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const createPostalAdapter = (channelName = 'reactPubSub') => {
99
unsubscribe() {
1010
channel.unsubscribe();
1111
},
12-
publish(action, data) {
12+
publish(action, ...data) {
1313
channel.publish(action, ...data);
1414
},
1515
};

0 commit comments

Comments
 (0)