Fix enrolled_services key mapping in agent-runner payload

This commit is contained in:
daniel
2026-05-07 19:29:50 -05:00
parent ce95cf4c12
commit b919a13c76

View File

@@ -187,7 +187,7 @@ def handler(event, context):
'telegram_username': user_profile.get('telegram_username', ''),
'google_email': user_profile.get('google_email', ''),
'allowed': user_profile.get('allowed', True),
'services': user_profile.get('services', {}),
'services': user_profile.get('enrolled_services', user_profile.get('services', {})),
},
'channel_adapter': {
'type': channel,