mirror of
https://github.com/chatmail/core.git
synced 2026-05-14 20:36:30 +03:00
job: remove unused variable
This commit is contained in:
@@ -298,7 +298,6 @@ pub(crate) async fn schedule_resync(context: &Context) -> Result<()> {
|
|||||||
|
|
||||||
/// Adds a job to the database, scheduling it.
|
/// Adds a job to the database, scheduling it.
|
||||||
pub async fn add(context: &Context, job: Job) -> Result<()> {
|
pub async fn add(context: &Context, job: Job) -> Result<()> {
|
||||||
let action = job.action;
|
|
||||||
let delay_seconds = job.delay_seconds();
|
let delay_seconds = job.delay_seconds();
|
||||||
job.save(context).await.context("failed to save job")?;
|
job.save(context).await.context("failed to save job")?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user