Skip to content

Commit

Permalink
fix(customer): #279
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Nov 23, 2019
1 parent e9fed90 commit c08a7e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ api.groups.create = payload => {
})
}
api.groups.get = payload => {
const limit = payload && payload.limit ? payload.limit : 50
const limit = payload && payload.limit ? payload.limit : 1000
const page = payload && payload.page ? payload.page : 0
const type = payload && payload.type ? `&type=${payload.type}` : ''

Expand All @@ -194,7 +194,7 @@ api.groups.delete = ({ _id }) => {

api.teams = {}
api.teams.getWithPage = payload => {
const limit = payload && payload.limit ? payload.limit : 25
const limit = payload && payload.limit ? payload.limit : 100
const page = payload && payload.page ? payload.page : 0
return axios.get(`/api/v2/teams?limit=${limit}&page=${page}`).then(res => {
return res.data
Expand Down
1 change: 1 addition & 0 deletions src/settings/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ function downloadWin32MongoDBTools (callback) {
var fileVersion = semver(dbVersion).major + '.' + semver(dbVersion).minor

if (os.platform() === 'win32') {
winston.debug('MongoDB version ' + fileVersion + ' detected.')
var filename = 'mongodb-tools.' + fileVersion + '-win32x64.zip'
var savePath = path.join(__dirname, '../backup/bin/win32/')
fs.ensureDirSync(savePath)
Expand Down

0 comments on commit c08a7e9

Please sign in to comment.