lacoctelera::routes::recipe::utils

Function get_recipe_from_db

Source
pub async fn get_recipe_from_db(
    pool: &MySqlPool,
    id: &Uuid,
) -> Result<Option<Recipe>, Box<dyn Error>>