backend::service::seed

Function edit

source
pub async fn edit(
    id: i32,
    user_id: Uuid,
    new_seed: NewSeedDto,
    pool: &SharedPool,
) -> Result<SeedDto, ServiceError>
Expand description

Edits a seed in the database.

ยงErrors

If the connection to the database could not be established.