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:
+1
-1
@@ -29,7 +29,7 @@
|
||||
{
|
||||
"id": "user-auth-condition",
|
||||
"leftValue": "={{ $json.message.from.id.toString() }}",
|
||||
"rightValue": "={{ $env.TELEGRAM_USER_ID }}",
|
||||
"rightValue": "563878771",
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
|
||||
Reference in New Issue
Block a user