Skip to content

Commit

Permalink
Improved: added viewSize while fetching draft job and reverted env en…
Browse files Browse the repository at this point in the history
…try for frequency options (#356)
  • Loading branch information
amansinghbais committed Jul 9, 2024
1 parent 8b406a7 commit bb9d535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ VUE_APP_ALIAS={}
VUE_APP_DEFAULT_ALIAS=""
VUE_APP_DEFAULT_LOG_LEVEL="error"
VUE_APP_CRON_EXPRESSIONS={"Every 5 minutes":"0 */5 * ? * *","Every 15 minutes":"0 */15 * ? * *","Every 30 minutes":"0 */30 * ? * *","Hourly":"0 0 * ? * *","Every six hours":"0 0 */6 ? * *","Every day at midnight":"0 0 0 * * ?"}
VUE_APP_SHOPIFY_JOBS_FREQUENCY_OPTIONS=[{"id": "HOURLY","description":"Hourly"},{"id": "EVERY_6_HOUR","description":"Every 6 hours"},{"id":"EVERYDAY","description":"Every day"},{"id":"CUSTOM","description":"Custom"}]
VUE_APP_LOGIN_URL="https://launchpad.hotwax.io/login"
3 changes: 2 additions & 1 deletion src/store/modules/channel/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ const actions: ActionTree<ChannelState, RootState> = {
systemJobEnumId: "JOB_UL_INV"
} as any,
fieldList: ["systemJobEnumId", "runTime", "tempExprId", "parentJobId", "serviceName", "jobId", "jobName", "currentRetryCount", "statusId", "productStoreId", "runtimeDataId", "shopId", "description", "enumTypeId", "enumName"],
noConditionFind: "Y"
noConditionFind: "Y",
viewSize: 1
}

const draftJobs = await ChannelService.fetchJobInformation(params);
Expand Down

0 comments on commit bb9d535

Please sign in to comment.