headless_lms_server::controllers::main_frontend::proposed_edits

Function process_edit_proposal

Source
pub async fn process_edit_proposal(
    request_id: RequestId,
    proposal: Json<EditProposalInfo>,
    app_conf: Data<ApplicationConfiguration>,
    user: AuthUser,
    pool: Data<PgPool>,
    jwt_key: Data<JwtKey>,
) -> ControllerResult<HttpResponse>
Expand description

POST /api/v0/main-frontend/proposed-edits/process-edit-proposal - Processes the given edit proposal.