We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d17bd13 commit b249190Copy full SHA for b249190
bugbot/iam.py
@@ -233,8 +233,8 @@ def update_bugzilla_emails(data: Dict[str, dict]) -> None:
233
def handler(bz_user, data):
234
if bz_user["id"] in users_by_bugzilla_id:
235
person = users_by_bugzilla_id[bz_user["id"]]
236
- elif bz_user["name"] in data:
237
- person = data[bz_user["name"]]
+ elif bz_user["name"].lower() in data:
+ person = data[bz_user["name"].lower()]
238
else:
239
raise Exception(f"Can't find {bz_user['name']} in the data")
240
0 commit comments