Skip to content

Commit

Permalink
page size param fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kazhamiakin committed Mar 1, 2024
1 parent a1b5df2 commit 1188e8d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ spring:
mongodb:
uri: ${MONGO_URI:}
database: ${MONGO_DATABASE:}
web:
pageable:
max-page-size: 10000

mail:
username: ${MAIL_USERNAME:}
Expand Down
2 changes: 1 addition & 1 deletion console_aziendale/src/services/campaign.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function getAllCampaigns(companyId = null) {
else url = url + process.env.VUE_APP_ALL_CAMPAIGNS_API
return axios.get(url,{
params: {
size: 1200
size: 1000
}
}).then(
res => {
Expand Down
2 changes: 1 addition & 1 deletion console_aziendale/src/services/company.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const companyService = {
function getAllCompanies() {
return axios.get(process.env.VUE_APP_BASE_URL + process.env.VUE_APP_COMPANIES_API,{
params: {
size: 1200
size: 1000
}
}).then(
res => {
Expand Down
2 changes: 1 addition & 1 deletion console_aziendale/src/services/employee.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function importEmployees(companyId,file) {
function getAllEmployees(companyId) {
return axios.get(process.env.VUE_APP_BASE_URL + process.env.VUE_APP_COMPANIES_API + '/' + companyId + '/' + process.env.VUE_APP_EMPLOYEES_API, {
params: {
size: 1200
size: 10000
}
}).then(
res => {
Expand Down
2 changes: 1 addition & 1 deletion console_aziendale/src/services/location.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function importLocations(companyId,file) {
//get all the companies
function getAllLocations(companyId) {
return axios.get(process.env.VUE_APP_BASE_URL + process.env.VUE_APP_COMPANIES_API+ '/' + companyId + '/' +process.env.VUE_APP_LOCATIONS_API,{ params: {
size: 1200
size: 1000
}
} ).then(
res => {
Expand Down

0 comments on commit 1188e8d

Please sign in to comment.