Skip to content

Commit

Permalink
fix: change initPageNumber to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmher committed Jan 16, 2024
1 parent 6a3bc13 commit ae97a9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (s *VolcengineRdsMysqlAccountService) GetClient() *volc.SdkClient {
}

func (s *VolcengineRdsMysqlAccountService) ReadResources(m map[string]interface{}) ([]interface{}, error) {
return volc.WithPageNumberQuery(m, "PageSize", "PageNumber", 20, 0, func(condition map[string]interface{}) (data []interface{}, err error) {
return volc.WithPageNumberQuery(m, "PageSize", "PageNumber", 20, 1, func(condition map[string]interface{}) (data []interface{}, err error) {
var (
resp *map[string]interface{}
results interface{}
Expand Down

0 comments on commit ae97a9d

Please sign in to comment.