add fix for predict
This commit is contained in:
@@ -1551,7 +1551,7 @@ function startOverlaySync() {
|
||||
if (currentView === "overlay") {
|
||||
renderView();
|
||||
}
|
||||
}, 2000);
|
||||
}, 800);
|
||||
}
|
||||
|
||||
function startOverlayRotation() {
|
||||
@@ -6123,7 +6123,7 @@ async function persistPassingToBackend(sessionId, passing) {
|
||||
const res = await fetch(`${getBackendUrl()}/api/passings`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ sessionId, passing }),
|
||||
body: JSON.stringify({ sessionId, passing, sessionResult: state.resultsBySession[sessionId] || null }),
|
||||
});
|
||||
if (!res.ok) {
|
||||
throw new Error(`HTTP ${res.status}`);
|
||||
|
||||
Reference in New Issue
Block a user