Skip to content

Commit

Permalink
api/subgraph: add contract name as version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Jan 24, 2024
1 parent c07c8ea commit a57226f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/subgraph/subgraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a57226f

Please sign in to comment.