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,