From 34ef744aeb53000cbcad9c93d52733d8b65d3383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Sat, 21 Dec 2024 10:42:43 +0100 Subject: [PATCH] tweak --- src/workers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workers.rs b/src/workers.rs index 38a616a..77e7425 100644 --- a/src/workers.rs +++ b/src/workers.rs @@ -170,7 +170,7 @@ pub async fn purge_spammer_accounts( // Since this can fail, we put it into a worker that periodically retries on any // user marked as spam and not already locked/notified. -pub async fn lock_user_account(forge: &Forgejo, username: &str) -> anyhow::Result<()> { +async fn lock_user_account(forge: &Forgejo, username: &str) -> anyhow::Result<()> { let opts = forgejo_api::structs::EditUserOption { // boilerplate: we do not change these settings active: None,