upstream sync

This commit is contained in:
Senad Uka
2023-10-10 08:39:50 +02:00
parent 598f706958
commit d3011d77ff
5 changed files with 139 additions and 58 deletions

View File

@@ -57,7 +57,7 @@ func ListProductTemplates(c *gin.Context) {
}
// Respond with the product templates and the total count
c.JSON(http.StatusOK, gin.H{"total": total, "product_templates": productTemplates})
c.JSON(http.StatusOK, gin.H{"total": total, "data": productTemplates})
}
func GetProductTemplate(c *gin.Context) {