main
ULTRACOMBOS-DEV 2 months ago
parent b38c0f4211
commit 6b88513026
  1. 1
      vite/src/pages/flow_free.jsx
  2. 4
      vite/src/util/backend.js

@ -548,6 +548,7 @@ export function FreeFlow(){
let next=cue.nextcue; let next=cue.nextcue;
switch(cue.numpad_type){ switch(cue.numpad_type){
case NUMPAD_TYPE.USERID: case NUMPAD_TYPE.USERID:
console.log('set id', padInput);
setUserId(()=>padInput); setUserId(()=>padInput);
break; break;
case NUMPAD_TYPE.CHOICE: case NUMPAD_TYPE.CHOICE:

@ -51,8 +51,8 @@ export async function writeToGoogleSheet(date, session, userId, password){
body: JSON.stringify({ body: JSON.stringify({
"date":date, "date":date,
"session":session, "session":session,
"userId":userId, "userId":userId?.toString(),
"password":password, "password":password?.toString(),
"createdTime": new Date().toLocaleString() "createdTime": new Date().toLocaleString()
}) })
}); });

Loading…
Cancel
Save