async fn upsert_course_research_form_questions(
payload: Json<Vec<NewResearchFormQuestion>>,
pool: Data<PgPool>,
course_id: Path<Uuid>,
user: AuthUser,
) -> ControllerResult<Json<Vec<ResearchFormQuestion>>>
Expand description
PUT /api/v0/cms/courses/:course_id/research-consent-form-questions
- Upserts questions for the courses research form from Gutenberg research form edit.