(
eml: String,
pool: web::Data<Pool>,
)
| 23 | } |
| 24 | |
| 25 | fn create_invitation( |
| 26 | eml: String, |
| 27 | pool: web::Data<Pool>, |
| 28 | ) -> Result<(), crate::errors::ServiceError> { |
| 29 | let invitation = dbg!(query(eml, pool)?); |
| 30 | send_invitation(&invitation) |
| 31 | } |
| 32 | |
| 33 | /// Diesel query |
| 34 | fn query(eml: String, pool: web::Data<Pool>) -> Result<Invitation, crate::errors::ServiceError> { |
no test coverage detected