return await supabase
.from("question")
.insert({
...body,
survey_id,
question_bank_ref_id,
selected_configuration,
field_type_context_stack,
survey_bank_question_bank_ref_id,
})
.select()
.maybeSingle()
.throwOnError()
.then(res => res.data);
return await supabase
.from("question")
.insert({
...body,
survey_id,
question_bank_ref_id,
selected_configuration,
field_type_context_stack,
survey_bank_question_bank_ref_id,
})
.select()
.maybeSingle()
.throwOnError()
.then(res => res.data);