Skip to content

Commit

Permalink
fix type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
harryisfish committed Nov 29, 2022
1 parent 70219b7 commit 0a98c64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package rumgosdk

import (
"fmt"
"strconv"

"github.com/tymon42/rum-go-sdk/model"
Expand All @@ -13,11 +14,11 @@ func (q *Quorum) GetGroupContents(groupID string, num int, reverse bool, starttr
url := q.ApiServer + "/app/api/v1/group/" + groupID + "/contents"
var res []*model.AppapiGroupContentObjectItem
_, err := q.HttpClient.R().SetQueryParams(map[string]string{
"num": string(num),
"num": fmt.Sprint(num),
"reverse": strconv.FormatBool(reverse),
"starttrx": starttrx,
"includestarttrx": string(includestarttrx),
"nonce": string(nonce),
"nonce": fmt.Sprint(nonce),
}).SetBody(appapiSenderList).SetResult(res).Get(url)
if err != nil {
return nil, err
Expand Down

0 comments on commit 0a98c64

Please sign in to comment.