@opsrev/acculynx-cli 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ function registerJobsCommands(parentCmd, getClient2) {
170
170
  if (opts.endDate) params.endDate = opts.endDate;
171
171
  if (opts.dateFilterType) params.dateFilterType = opts.dateFilterType;
172
172
  if (opts.milestones) params.milestones = opts.milestones;
173
- if (opts.sortBy) params.sortBy = opts.sortBy;
173
+ params.sortBy = opts.sortBy ?? "CreatedDate";
174
174
  if (opts.sortOrder) params.sortOrder = opts.sortOrder;
175
175
  if (opts.includes) params.includes = opts.includes;
176
176
  if (opts.assignment) params.assignment = opts.assignment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opsrev/acculynx-cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "CLI for the AccuLynx roofing CRM API",
5
5
  "type": "module",
6
6
  "bin": {