Files
awoooi/apps/api
OG T 76f3ffd7f7
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 13m0s
fix(telegram): whitelist property 返回字串導致按鈕無反應
security_interceptor.whitelist 返回 settings.OPENCLAW_TG_USER_WHITELIST
(字串),但 is_whitelisted 做 user_id in whitelist(int in str),
Python 報 "requires string as left operand, not int"。

修正:改呼叫 settings.get_tg_user_whitelist() 返回 list[int]。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 13:40:52 +08:00
..