From f32b5d57489a97ebe42b41da555afed05158bdef Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Wed, 4 Oct 2023 13:31:28 +0200 Subject: [PATCH] usptream sync --- controllers/contracts_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/contracts_controller.go b/controllers/contracts_controller.go index 340b35d..3512b76 100644 --- a/controllers/contracts_controller.go +++ b/controllers/contracts_controller.go @@ -143,7 +143,7 @@ func GetBuyerContracts(c *gin.Context) { func GetContractStatuses(c *gin.Context) { // Respond with the contract statuses - c.JSON(http.StatusOK, gin.H{"data": models.GetContractStatuses()}) + c.JSON(http.StatusOK, gin.H{"statuses": models.GetContractStatuses()}) }