Skip to content

Commit

Permalink
fix: change to schedule start time
Browse files Browse the repository at this point in the history
  • Loading branch information
btrn11 committed Jan 14, 2025
1 parent e6ac978 commit 61a5a89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions schemas/package-pushupgrade-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Status": {
"type": "string"
},
"ScheduledDateTime": {
"ScheduledStartTime": {
"type": "string"
},
"StartTime": {
Expand All @@ -43,7 +43,7 @@
"Id",
"PackageVersionId",
"Status",
"ScheduledDateTime",
"ScheduledStartTime",
"StartTime",
"EndTime",
"OrgsScheduled",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package/pushupgrade/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class PackagePushRequestListCommand extends SfCommand<PackagePushRequestL
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
Status: record?.Status,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
ScheduledDateTime: record?.ScheduledDateTime,
ScheduledStartTime: record?.ScheduledStartTime,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
StartTime: record?.StartTime,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
Expand Down
2 changes: 1 addition & 1 deletion test/commands/package/packagePushUpgradeList.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const pushUpgradeListSuccess: PackagePushRequestListResult[] = [
Id: '0Af0M000000AxuqSAC',
PackageVersionId: '04t0M000000AxuqSAC',
Status: 'Success',
ScheduledDateTime: '2024-01-02T00:00:00.000Z',
ScheduledStartTime: '2024-01-02T00:00:00.000Z',
StartTime: '2024-01-02T00:01:00.000Z',
EndTime: '2024-01-02T00:10:00.000Z',
OrgsScheduled: 2,
Expand Down

0 comments on commit 61a5a89

Please sign in to comment.