Changeset 0.28.0.5 (#177)
This commit is contained in:
@@ -183,7 +183,7 @@ func (h *MessageHandler) GetActivePath(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, gin.H{"path": path})
|
||||
c.JSON(http.StatusOK, gin.H{"messages": path})
|
||||
}
|
||||
|
||||
// ── Create Message (manual) ─────────────────
|
||||
@@ -702,7 +702,7 @@ func (h *MessageHandler) UpdateCursor(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, gin.H{"path": path, "active_leaf_id": leafID})
|
||||
c.JSON(http.StatusOK, gin.H{"messages": path, "active_leaf_id": leafID})
|
||||
}
|
||||
|
||||
// ── List Siblings ───────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user