async fn claim_code_from_code_giveaway(
    user: AuthUser,
    code_giveaway_id: Path<Uuid>,
    pool: Data<PgPool>,
) -> ControllerResult<Json<String>>
Expand description

POST /api/v0/course-material/code-giveaways/:id/claim - Claim a code from a code giveaway. If user has not completed the course module that is a requirement for the code, returns an error.