Skip to content

Commit

Permalink
fix: #142 Fix page size per request on admin stats (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
trankhacvy authored Feb 26, 2020
1 parent 07858e4 commit 332bc30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/marketplace/src/sagas/admin-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ActionTypes from '../constants/action-types'
import { errorThrownServer } from '../actions/error'
import errorMessages from '../constants/error-messages'
import { URLS, MARKETPLACE_HEADERS } from '@/constants/api'
import { APPS_PER_PAGE } from '@/constants/paginator'
import { GET_ALL_PAGE_SIZE } from '@/constants/paginator'
import { fetcher, setQueryParams } from '@reapit/elements'
import { Action } from '@/types/core'
import { Area } from '@/components/pages/admin-stats'
Expand All @@ -30,7 +30,7 @@ export const adminStatsDataFetch = function*({ data }) {
}
const response = yield call(fetcher, {
url: `${url}?${setQueryParams({
pageSize: APPS_PER_PAGE,
pageSize: GET_ALL_PAGE_SIZE,
...queryParams,
})}`,
api: process.env.MARKETPLACE_API_BASE_URL as string,
Expand Down

0 comments on commit 332bc30

Please sign in to comment.