Skip to content

Commit

Permalink
fix: Fix async consumer retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrubisch committed Sep 25, 2023
1 parent dfa776a commit 13d53a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/elements/cubicle.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class Cubicle extends SubscribingElement {
: []
this.triggerRootSelector = this.getAttribute('trigger-root')

this.consumer = await CableReady.consumer
this.consumer = await CableReady.cable.getConsumer()

this.channel = this.createSubscription()

Expand Down

0 comments on commit 13d53a7

Please sign in to comment.