diff --git a/relay/manage.py b/relay/manage.py index 3b31889..4fb9614 100644 --- a/relay/manage.py +++ b/relay/manage.py @@ -397,7 +397,7 @@ def cli_whitelist_remove(instance): app.config.save() if app.config.whitelist_enabled: - if app.database.del_inbox(inbox): + if app.database.del_inbox(instance): app.database.save() click.echo(f'Removed instance from the whitelist: {instance}')