wrong json key

This commit is contained in:
William Clark 2023-12-13 11:46:47 +00:00
parent f4893c71e4
commit 4aa83cb216

View File

@ -184,7 +184,7 @@ func (g *GinAdapter) GetConfigDeviceHandler(c *gin.Context) {
timestamp := g.getTimestamp()
c.JSON(http.StatusOK, gin.H{
"channels": g.cfg.Board,
"device": g.cfg.Board,
"time": timestamp,
})
}