From f7dd17f90b00733682920c5916d2f5fe40bb981b Mon Sep 17 00:00:00 2001 From: "Guillaume Destuynder (kang)" Date: Fri, 31 Mar 2017 17:47:06 -0700 Subject: [PATCH] Use user's name as.. username, instead of a username object to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1352562 --- cron/auth02mozdef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/auth02mozdef.py b/cron/auth02mozdef.py index 38646c73..7e39f23d 100644 --- a/cron/auth02mozdef.py +++ b/cron/auth02mozdef.py @@ -270,7 +270,7 @@ def process_msg(mozmsg, msg): details['auth0_client_id'] = msg.client_id try: - details['username'] = msg.details.request.auth.user + details['username'] = msg.details.request.auth.user.name details['action'] = msg.details.response.body.name except KeyError: try: