Skip to content

Commit

Permalink
use pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
fanhousanbu committed Mar 5, 2024
1 parent ce96dbc commit ac32536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc_server/api/v1/get_support_strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func GetSupportStrategy(c *gin.Context) {
response.SetHttpCode(http.StatusBadRequest).FailCode(c, http.StatusBadRequest, errStr)
return
}
result, err := operator.GetSupportStrategyExecute(request)
result, err := operator.GetSupportStrategyExecute(&request)
if err != nil {
errStr := fmt.Sprintf("%v", err)
response.SetHttpCode(http.StatusInternalServerError).FailCode(c, http.StatusInternalServerError, errStr)
Expand Down

0 comments on commit ac32536

Please sign in to comment.