Upstream sync.

This commit is contained in:
Senad Uka
2023-10-17 11:46:28 +02:00
parent 7c3407c86d
commit 3ff212d6d2

View File

@@ -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) {