Skip to content

Commit

Permalink
fix: demo page, update docs link and fix data destructuring (#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc authored May 2, 2024
1 parent 8b0e03e commit 9644cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/server/src/external/demo/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ const connectSocket = () => {
switch (type) {
case 'ontime': {
// destructure known data from ontime
// see https://docs.getontime.no/api/osc-and-ws/
const { timer, playback } = payload;
updateTimerElement(playback, timer);
// see https://docs.getontime.no/api/data/runtime-data/
const { current, playback } = payload.timer;
updateTimerElement(playback, current);
break;
}
case 'ontime-timer': {
Expand Down

0 comments on commit 9644cbd

Please sign in to comment.