Remove whitelabel_keys table usage

This commit is contained in:
rxdn 2024-11-16 23:16:33 +00:00
parent 2750d01ed1
commit 1f043ed65f

View File

@ -78,11 +78,6 @@ func WhitelabelPost() func(*gin.Context) {
return return
} }
if err := dbclient.Client.WhitelabelKeys.Set(c, bot.Id, bot.VerifyKey); err != nil {
_ = c.AbortWithError(http.StatusInternalServerError, app.NewServerError(err))
return
}
// Set intents // Set intents
var currentFlags application.Flag = 0 var currentFlags application.Flag = 0
if bot.Flags != nil { if bot.Flags != nil {