fix: use tokio instead of async-std

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-06-24 15:37:00 +01:00
parent 91db4e8b5f
commit f86709837e

View File

@@ -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();