Function complete

Source
pub async fn complete<'a, E: Executor<'a, Database = Postgres>>(
    executor: E,
    company_id: i32,
    id: i32,
) -> Result<Task>
Expand description

Complete task by id.

ยงErrors

Returns error if there was a problem while completing task.