fix: Bot registration duplicate prevention and SilverPay integration update
- Fixed BotService to prevent duplicate bot registrations by checking for existing bot with same name/type - Updated existing bot record instead of creating duplicates on re-registration - Configured SilverPay integration with production API key - Updated TeleBot configuration for local development (localhost API URL, Tor disabled) This ensures single bot instances and proper payment gateway integration for testing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"Comment": "Optional secret key for webhook authentication"
|
||||
},
|
||||
"LittleShop": {
|
||||
"ApiUrl": "http://littleshop:5000",
|
||||
"ApiUrl": "http://localhost:5000",
|
||||
"OnionUrl": "",
|
||||
"Username": "admin",
|
||||
"Password": "admin",
|
||||
@@ -34,7 +34,7 @@
|
||||
"EnableAnalytics": false,
|
||||
"RequirePGPForShipping": false,
|
||||
"EphemeralByDefault": true,
|
||||
"EnableTor": true,
|
||||
"EnableTor": false,
|
||||
"TorSocksHost": "tor-gateway",
|
||||
"TorSocksPort": 9050,
|
||||
"TorControlPort": 9051,
|
||||
|
||||
Reference in New Issue
Block a user