From a57226f02cf156c986fd5f07fed2415fa7335902 Mon Sep 17 00:00:00 2001 From: Punarv Pawade Date: Wed, 24 Jan 2024 18:38:41 +0530 Subject: [PATCH] api/subgraph: add contract name as version tag --- api/subgraph/subgraph.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/subgraph/subgraph.go b/api/subgraph/subgraph.go index ef57378..0afac99 100644 --- a/api/subgraph/subgraph.go +++ b/api/subgraph/subgraph.go @@ -81,7 +81,7 @@ func DeploySubgraph(c *gin.Context) { return } - cmd = exec.Command("yarn", "deploy", "-l", "v1", "-i", req.IpfsUrl) + cmd = exec.Command("yarn", "deploy", "-l", req.Contracts[0]., "-i", req.IpfsUrl) var outb, errb bytes.Buffer cmd.Stdout = &outb cmd.Stderr = &errb