diff --git a/jobs-actix/src/server.rs b/jobs-actix/src/server.rs index 56fd376..5f041f1 100644 --- a/jobs-actix/src/server.rs +++ b/jobs-actix/src/server.rs @@ -58,10 +58,10 @@ impl Server { } pub(crate) async fn return_job(&self, job: ReturnJobInfo) -> Result<(), Error> { - Ok(self.storage.return_job(job).await?) + self.storage.return_job(job).await } pub(crate) async fn get_stats(&self) -> Result { - Ok(self.storage.get_stats().await?) + self.storage.get_stats().await } }