diff --git a/apps/server/src/external/demo/app.js b/apps/server/src/external/demo/app.js index 019e8f4d37..ef7394b60f 100644 --- a/apps/server/src/external/demo/app.js +++ b/apps/server/src/external/demo/app.js @@ -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': {