From f86709837e8a1dc709423fe6d7092f8bb3ebc646 Mon Sep 17 00:00:00 2001 From: Zomatree Date: Wed, 24 Jun 2026 15:37:00 +0100 Subject: [PATCH] fix: use tokio instead of async-std Signed-off-by: Zomatree --- crates/core/database/src/models/audit_logs/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/database/src/models/audit_logs/model.rs b/crates/core/database/src/models/audit_logs/model.rs index 9cfcb2a3..bc962f07 100644 --- a/crates/core/database/src/models/audit_logs/model.rs +++ b/crates/core/database/src/models/audit_logs/model.rs @@ -191,7 +191,7 @@ impl AuditLogEntryAction { // running the insert inside a task can cause race conditions in the test so for now just dont use a task for tests for now // this will need to be redone for when we migrate to using rabbitmq here anyway. #[cfg(not(test))] - async_std::task::spawn({ + tokio::task::spawn({ let db = db.clone(); let entry = entry.clone();