Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Jan 3, 2025
1 parent da94175 commit 6d74ee8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions launchpad/_RPC_api_deposit.gno → launchpad/api_deposit.gno
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func ApiGetDepositByDepositId(depositId string) string {
WriteString("depositId", depositId)
DepositBuilder(builder, deposit)

return marshal(builder.Build())
return marshal(builder.Node())
}

func ApiGetDepositFullByDepositId(depositId string) string {
Expand Down Expand Up @@ -89,7 +89,7 @@ func ApiGetDepositFullByDepositId(depositId string) string {
// Add deposit info
DepositBuilder(builder, deposit)

return marshal(builder.Build())
return marshal(builder.Node())
}

func makeConditionsToStr(conditions map[string]Condition) (string, string) {
Expand Down
6 changes: 3 additions & 3 deletions launchpad/_RPC_api_project.gno → launchpad/api_project.gno
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func ApiGetProjectAndTierStatisticsByProjectId(projectId string) string {
WriteString("projectId", projectId)
ProjectBuilder(builder, project)

return marshal(builder.Build())
return marshal(builder.Node())
}

func ApiGetProjectStatisticsByProjectId(projectId string) string {
Expand All @@ -35,7 +35,7 @@ func ApiGetProjectStatisticsByProjectId(projectId string) string {
WriteString("projectId", projectId)
ProjectBuilder(builder, project)

return marshal(builder.Build())
return marshal(builder.Node())
}

func ApiGetProjectStatisticsByProjectTierId(tierId string) string {
Expand Down Expand Up @@ -68,7 +68,7 @@ func ApiGetProjectStatisticsByProjectTierId(tierId string) string {
WriteString("tierTotalParticipant", ufmt.Sprintf("%d", tier.totalParticipant)).
WriteString("tierActualParticipant", ufmt.Sprintf("%d", tier.actualParticipant))

return marshal(builder.Build())
return marshal(builder.Node())
}

func metaNode() *json.Node {
Expand Down
File renamed without changes.

0 comments on commit 6d74ee8

Please sign in to comment.