Function backend::service::seed::edit

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

Edits a seed in the database.

§Errors

If the connection to the database could not be established.