Skip to content

Commit

Permalink
Fix issue getting senders for deviceId
Browse files Browse the repository at this point in the history
  • Loading branch information
YouKnowBlom committed Jul 31, 2020
1 parent e02043f commit 8a8eeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "./components/maincontroller";

let senders = cast.framework.CastReceiverContext.getSenders();
let senders = cast.framework.CastReceiverContext.getInstance().getSenders();
let id = senders.length !== 0 && senders[0].id ? senders[0].id : new Date().getTime();

window.deviceInfo = {
Expand Down

0 comments on commit 8a8eeff

Please sign in to comment.