make it work for now
This commit is contained in:
parent
4e4933f565
commit
ba4025988f
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ export async function createGame() {
|
|||
gameid: gamePin,
|
||||
questionstext: q.questionText,
|
||||
correctanswer: q.CorrectOption.SingleAnswer,
|
||||
timeLimit: q.timelimit,
|
||||
timelimit: q.timelimit,
|
||||
media: q.hasMedia ? q.mediaURL : null,
|
||||
}));
|
||||
|
||||
|
@ -36,8 +36,8 @@ export async function createGame() {
|
|||
});
|
||||
|
||||
if (gameError) {
|
||||
wait.v = false;
|
||||
return;
|
||||
//wait.v = false;
|
||||
//return;
|
||||
}
|
||||
|
||||
const insertQuestionsPromise = supabase.from("questions").insert(questionsData).select("id");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue