From f70091c5d5d365e635fbd36bd7c99bd4e30053ae Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Sat, 24 Feb 2024 19:48:24 +0530 Subject: [PATCH] [temp]: log --- api/v1/deployer/deployer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1/deployer/deployer.go b/api/v1/deployer/deployer.go index ac5d49f..b99e76d 100644 --- a/api/v1/deployer/deployer.go +++ b/api/v1/deployer/deployer.go @@ -3,6 +3,7 @@ package deployer import ( "bytes" "encoding/json" + "fmt" "net/http" "github.com/NetSepio/sotreus-gateway/api/middleware/auth/paseto" @@ -26,6 +27,7 @@ func ApplyRoutes(r *gin.RouterGroup) { func Deploy(c *gin.Context) { db := dbconfig.GetDb() walletAddress := c.GetString(paseto.CTX_WALLET_ADDRES) + fmt.Println(walletAddress) var count int64 err := db.Model(&models.Sotreus{}).Where("wallet_address = ?", walletAddress).Find(&models.Sotreus{}).Count(&count).Error