Update local.yaml to set is_done_tick_dot_com to false, add things history
This commit is contained in:
parent
a6871d4200
commit
17326a16a0
6 changed files with 12 additions and 13 deletions
|
@ -227,7 +227,8 @@ func (h *Handler) GetThingHistory(c *gin.Context) {
|
|||
c.JSON(400, gin.H{"error": "Invalid offset"})
|
||||
return
|
||||
}
|
||||
history, err := h.tRepo.GetThingHistoryWithOffset(c, thingID, offset, 10)
|
||||
|
||||
history, err := h.tRepo.GetThingHistoryWithOffset(c, thingID, offset)
|
||||
if err != nil {
|
||||
c.JSON(500, gin.H{"error": err.Error()})
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue