Skip to content

Commit 66e57cd

Browse files
committed
fix: remove the field
1 parent 7336002 commit 66e57cd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/commands/org/refresh/sandbox.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const fields = [
3434
'SourceId', // (string) SandboxInfoId as the source org used for a clone
3535
// 'ActivationUserGroupId', // Currently not supported but might be added in API v61.0
3636
// 'CopyArchivedActivities', -- only for full sandboxes; depends if a license was purchased
37-
'IsSourceTrackingSandboxesEnabled',
3837
...uneditableFields,
3938
];
4039

src/shared/sandboxCommandBase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export abstract class SandboxCommandBase<T> extends SfCommand<T> {
7777
const sourceTrackingSettings = await this.prodOrg
7878
.getConnection()
7979
.singleRecordQuery('SELECT IsSourceTrackingSandboxesEnabled FROM SourceTrackingSettings', { tooling: true });
80-
if (sourceTrackingSettings.IsSourceTrackingSandboxesEnabled !== true) {
80+
if (sourceTrackingSettings?.IsSourceTrackingSandboxesEnabled !== true) {
8181
return false;
8282
}
8383
}

src/shared/sandboxProgress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type SandboxProgressData = {
2020
};
2121

2222
export type SandboxStatusData = {
23-
sandboxUsername: string | undefined;
23+
sandboxUsername: string;
2424
sandboxProgress: SandboxProgressData;
2525
sandboxProcessObj?: SandboxProcessObject | undefined;
2626
};

0 commit comments

Comments
 (0)