Remove whitelabel_keys table usage
This commit is contained in:
parent
2750d01ed1
commit
1f043ed65f
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user