Skip to content

Commit 1debad0

Browse files
authored
Merge pull request #19 from SouthbankSoftware/master
Increases the max number of users when list
2 parents 3c3b84d + 5a4e0e5 commit 1debad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mongodbatlas/database_users.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type databaseUserListResponse struct {
4848
func (c *DatabaseUserService) List(gid string) ([]DatabaseUser, *http.Response, error) {
4949
response := new(databaseUserListResponse)
5050
apiError := new(APIError)
51-
path := fmt.Sprintf("%s/databaseUsers", gid)
51+
path := fmt.Sprintf("%s/databaseUsers?itemsPerPage=500", gid)
5252
resp, err := c.sling.New().Get(path).Receive(response, apiError)
5353
return response.Results, resp, relevantError(err, *apiError)
5454
}

0 commit comments

Comments
 (0)