Skip to content

Commit

Permalink
Update export_channel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Nov 8, 2024
1 parent aaa6461 commit 5efdce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/channels/export_channel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import consumer from "./consumer"

consumer.subscriptions.create({ channel: "ExportChannel" }, {
export default consumer.subscriptions.create({ channel: "ExportChannel" }, {
connected() {
// Called when the subscription is ready for use on the server
console.log("GBL Admin - ExportChannel connected");
Expand All @@ -27,4 +27,4 @@ consumer.subscriptions.create({ channel: "ExportChannel" }, {
}
}
}
});
});

0 comments on commit 5efdce2

Please sign in to comment.