tweak
This commit is contained in:
parent
f8375ca188
commit
34ef744aeb
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue