added guild_id to export
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
a02a2d0798
commit
ba89cf7480
@ -67,6 +67,7 @@ type (
|
|||||||
Panels []int `json:"panels"`
|
Panels []int `json:"panels"`
|
||||||
}
|
}
|
||||||
Export struct {
|
Export struct {
|
||||||
|
GuildId uint64 `json:"guild_id"`
|
||||||
Settings Settings `json:"settings"`
|
Settings Settings `json:"settings"`
|
||||||
Panels []Panel `json:"panels"`
|
Panels []Panel `json:"panels"`
|
||||||
MultiPanels []MultiPanel `json:"multi_panels"`
|
MultiPanels []MultiPanel `json:"multi_panels"`
|
||||||
@ -315,6 +316,7 @@ func ExportHandler(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx.JSON(200, Export{
|
ctx.JSON(200, Export{
|
||||||
|
GuildId: guildId,
|
||||||
Settings: settings,
|
Settings: settings,
|
||||||
Panels: panels,
|
Panels: panels,
|
||||||
MultiPanels: multiPanelData,
|
MultiPanels: multiPanelData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user