wrong json key
This commit is contained in:
parent
f4893c71e4
commit
4aa83cb216
@ -184,7 +184,7 @@ func (g *GinAdapter) GetConfigDeviceHandler(c *gin.Context) {
|
|||||||
timestamp := g.getTimestamp()
|
timestamp := g.getTimestamp()
|
||||||
|
|
||||||
c.JSON(http.StatusOK, gin.H{
|
c.JSON(http.StatusOK, gin.H{
|
||||||
"channels": g.cfg.Board,
|
"device": g.cfg.Board,
|
||||||
"time": timestamp,
|
"time": timestamp,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user