@ordewell/web 0.14.2 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1834,7 +1834,7 @@ function sessionsRoute(pool) {
1834
1834
  const live = pool.holds(id, ws);
1835
1835
  const livePlan = live ? pool.getPlan(id) : null;
1836
1836
  const livePlanState = live ? pool.getPlanState(id) : null;
1837
- const saved = livePlan && livePlanState ? null : core.loadSession(id, ws);
1837
+ const saved = livePlan && livePlanState ? null : core.readSession(id, ws);
1838
1838
  if (!saved && !(livePlan && livePlanState)) return refuse(c, 404, "Session not found", "session_not_found");
1839
1839
  const run2 = live ? pool.runSnapshot(id) : null;
1840
1840
  const plannerTurnId = live ? pool.plannerTurnId(id) : void 0;