mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:06:16 +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")
|
help="email of user to query")
|
||||||
|
|
||||||
def handle(self, *args: Any, **options: str) -> None:
|
def handle(self, *args: Any, **options: str) -> None:
|
||||||
values = query_ldap(**options)
|
email = options['email']
|
||||||
|
values = query_ldap(email)
|
||||||
for value in values:
|
for value in values:
|
||||||
print(value)
|
print(value)
|
||||||
|
|||||||
Reference in New Issue
Block a user