File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/[platform]/build-a-backend/data/connect-event-api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export default function App() {
84
84
async function publishEvent() {
85
85
await events .post (' default/channel' , { some: ' data' });
86
86
87
- // Alternative way to publish events through the channel
87
+ // Alternative way to publish events through the channel
88
88
const channel = await events .connect (' default/channel' );
89
89
await channel .publish ({ some: ' data' });
90
90
}
@@ -246,7 +246,7 @@ export default function App() {
246
246
async function publishEvent() {
247
247
await events .post (' default/channel' , { some: ' data' });
248
248
249
- // Alternative way to publish events through the channel
249
+ // Alternative way to publish events through the channel
250
250
const channel = await events .connect (' default/channel' );
251
251
await channel .publish ({ some: ' data' });
252
252
}
You can’t perform that action at this time.
0 commit comments