We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de907ae commit 8eb686aCopy full SHA for 8eb686a
pkg/gmc/handler/bot.go
@@ -66,6 +66,7 @@ func CreateBot(c *gin.Context) {
66
_, ok := bot.Clients.Load(req.BotId)
67
if ok {
68
c.String(http.StatusInternalServerError, "botId already exists")
69
+ return
70
}
71
go func() {
72
CreateBotImpl(req.BotId, req.Password, req.DeviceSeed)
0 commit comments