[Draft] Implement Early deletion by Submitter #37 #38
1 changed files with 1 additions and 1 deletions
fix unused variable lint
commit
faa2c4f5be
|
|
@ -146,7 +146,7 @@ pub(crate) async fn reject_joboffer_post(
|
|||
|
||||
// early drop necessary as we can't hold a borrow to the job offer while deleting it
|
||||
drop(job_offer);
|
||||
let job_offer = offers.delete_offer(id, false, &config).await?;
|
||||
let _job_offer = offers.delete_offer(id, false, &config).await?;
|
||||
|
||||
let title = if was_confirmed {
|
||||
"Job Offer Deletion Successful"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue