Skip to main content

regrade_completion

Function regrade_completion 

Source
async fn regrade_completion(
    app_conf: Data<ApplicationConfiguration>,
    pool: Data<PgPool>,
    payload: Json<RegradeCompletionPayload>,
) -> ControllerResult<HttpResponse>
Expand description

Rewrites the grade of the completion behind one ledger row.

A test hook, not a product path: the manual completion flow writes a new completion row, so nothing else in the product edits a completion’s grade, and the grade-improvement statement is about exactly that edit.