fix context panel import
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
a453d9ac08
commit
5048358263
@ -582,8 +582,10 @@ func ImportHandler(ctx *gin.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
if data.Settings.ContextMenuPanel != nil {
|
||||
newContextMenuPanel := panelIdMap[*data.Settings.ContextMenuPanel]
|
||||
data.Settings.ContextMenuPanel = &newContextMenuPanel
|
||||
}
|
||||
|
||||
if err := dbclient.Client.Settings.Set(ctx, guildId, data.Settings); err != nil {
|
||||
ctx.JSON(500, utils.ErrorJson(err))
|
||||
|
@ -1,4 +1,4 @@
|
||||
export const API_URL = env.API_URL || "https://api.ticketsbot.cloud"
|
||||
export const API_URL = env.API_URL || "http://localhost:8081"
|
||||
export const PLACEHOLDER_DOCS_URL = "https://docs.ticketsbot.cloud/setup/placeholders.html"
|
||||
|
||||
export const OAUTH = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user