Upstream sync.
This commit is contained in:
@@ -75,7 +75,7 @@ func ListTextTemplates(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Respond with the text templates and the total count
|
// Respond with the text templates and the total count
|
||||||
c.JSON(http.StatusOK, gin.H{"total": total, "text_templates": textTemplates})
|
c.JSON(http.StatusOK, gin.H{"total": total, "data": textTemplates})
|
||||||
}
|
}
|
||||||
|
|
||||||
func CreateTextTemplate(c *gin.Context) {
|
func CreateTextTemplate(c *gin.Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user