mirror of
https://github.com/open-webui/computer.git
synced 2026-11-24 06:20:21 -05:00
refac
This commit is contained in:
1 parent
fba47a2191
commit
75bf359f73
1 file changed
+1
-1
@@ -105,7 +105,7 @@ async def create_bot(request: Request, body: BotCreate):
|
||||
from cptr.utils.config import _get_jwt_secret
|
||||
from cptr.utils.crypto import encrypt_key
|
||||
|
||||
if body.platform not in ("telegram", "discord"):
|
||||
if body.platform not in ("telegram", "discord", "slack", "whatsapp", "signal"):
|
||||
raise HTTPException(400, f"Unsupported platform: {body.platform}")
|
||||
|
||||
now = int(time.time_ns())
|
||||
|
||||
Reference in new issue
Block a user