fix: Bot registration duplicate prevention and SilverPay integration update
All checks were successful
Build and Deploy LittleShop / Deploy to Production VPS (Manual Only) (push) Has been skipped
Build and Deploy LittleShop / Deploy to Pre-Production (CT109) (push) Successful in 1m1s

- 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:
sysadmin
2025-11-17 15:56:23 +00:00
parent 8dfaa7e0f7
commit 1d249d13ba
3 changed files with 37 additions and 6 deletions

View File

@@ -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,