Skip to content

Commit

Permalink
fix reward end time
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocthanh1389 committed May 9, 2024
1 parent 93cfde9 commit fd354d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/savings_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func (s *FlexibleRewardHistoryService) EndTime(endTime int64) *FlexibleRewardHis
return s
}

func (s *FlexibleRewardHistoryService) Typ(typ string) *FlexibleRewardHistoryService {
func (s *FlexibleRewardHistoryService) Type(typ string) *FlexibleRewardHistoryService {
s.typ = typ
return s
}
Expand Down Expand Up @@ -650,7 +650,7 @@ func (s *FlexibleRewardHistoryService) Do(ctx context.Context, opts ...RequestOp
m["startTime"] = s.startTime
}
if s.endTime != 0 {
m["endTime"] = s.startTime
m["endTime"] = s.endTime
}
if s.productID != "" {
m["productId"] = s.productID
Expand Down

0 comments on commit fd354d9

Please sign in to comment.