Function backend::service::plantings::update

source ·
pub async fn update(
    dto: UpdatePlantingDto,
    map_id: i32,
    user_id: Uuid,
    app_data: &Data<AppDataInner>,
) -> Result<Vec<PlantingDto>, ServiceError>
Expand description

Update the planting in the database.

§Errors

If the connection to the database could not be established.