pub async fn edit_opportunity(_req: tide::Request<Database>) -> tide::Result {
    // OpportunityImportRecord::store(
    //     db,
    //     &new_opp.exterior.partner,
    //     &new_opp.exterior.uid,
    //     false,
    //     false,
    // )
    // .await?;

    common::log("ui-edit-opportunity", "");
    todo!()
}
// If the opportunity is not approved, delete it instead of marking it
// withdrawn.
If the opportunity is not approved, delete it instead of marking it
withdrawn.
If the opportunity is not approved delete it instead of marking it withdrawn .
pub async fn edit_opportunity(_req: tide::Request<Database>) -> tide::Result {
    // OpportunityImportRecord::store(
    //     db,
    //     &new_opp.exterior.partner,
    //     &new_opp.exterior.uid,
    //     false,
    //     false,
    // )
    // .await?;
    common::log("ui-edit-opportunity", "");
    todo!()
}
pub async fn edit_opportunity ( _req : tide :: Request < Database > ) -> tide :: Result { // OpportunityImportRecord::store( //     db, //     &new_opp.exterior.partner, //     &new_opp.exterior.uid, //     false, //     false, // ) // .await?; common :: log ( " " , " " ) ; todo ! ( ) }
If the opportunity is not approved, delete it instead of marking it
withdrawn.
If the opportunity is not approved delete it instead of marking it withdrawn .
_req
tide::Request<Database>
_req
tide::Request<Database>