fix(01-01): hardcode user ID instead of env var

n8n community edition blocks env var access in expressions.
Hardcoded TELEGRAM_USER_ID for single-user authentication.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Berger
2026-01-28 20:25:33 -05:00
parent 216a73e0d0
commit 23c5705050
+1 -1
View File
@@ -29,7 +29,7 @@
{ {
"id": "user-auth-condition", "id": "user-auth-condition",
"leftValue": "={{ $json.message.from.id.toString() }}", "leftValue": "={{ $json.message.from.id.toString() }}",
"rightValue": "={{ $env.TELEGRAM_USER_ID }}", "rightValue": "563878771",
"operator": { "operator": {
"type": "string", "type": "string",
"operation": "equals" "operation": "equals"