mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
commands: Fix handling of keyword arguments in query_ldap
command.
This bug seems to be introduced by me while doing the refactoring in `94649f58f2fe0ed78d84e597ad6676522cfef9be`. Fixes: #12006.
This commit is contained in:
committed by
Tim Abbott
parent
b12f494031
commit
b630a6456d
@@ -12,6 +12,7 @@ class Command(BaseCommand):
|
||||
help="email of user to query")
|
||||
|
||||
def handle(self, *args: Any, **options: str) -> None:
|
||||
values = query_ldap(**options)
|
||||
email = options['email']
|
||||
values = query_ldap(email)
|
||||
for value in values:
|
||||
print(value)
|
||||
|
Reference in New Issue
Block a user