Skip to content

Commit

Permalink
fix: remove the field
Browse files Browse the repository at this point in the history
  • Loading branch information
soridalac committed Nov 19, 2024
1 parent 7336002 commit 66e57cd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/commands/org/refresh/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const fields = [
'SourceId', // (string) SandboxInfoId as the source org used for a clone
// 'ActivationUserGroupId', // Currently not supported but might be added in API v61.0
// 'CopyArchivedActivities', -- only for full sandboxes; depends if a license was purchased
'IsSourceTrackingSandboxesEnabled',
...uneditableFields,
];

Expand Down
2 changes: 1 addition & 1 deletion src/shared/sandboxCommandBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export abstract class SandboxCommandBase<T> extends SfCommand<T> {
const sourceTrackingSettings = await this.prodOrg
.getConnection()
.singleRecordQuery('SELECT IsSourceTrackingSandboxesEnabled FROM SourceTrackingSettings', { tooling: true });
if (sourceTrackingSettings.IsSourceTrackingSandboxesEnabled !== true) {
if (sourceTrackingSettings?.IsSourceTrackingSandboxesEnabled !== true) {
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/sandboxProgress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type SandboxProgressData = {
};

export type SandboxStatusData = {
sandboxUsername: string | undefined;
sandboxUsername: string;
sandboxProgress: SandboxProgressData;
sandboxProcessObj?: SandboxProcessObject | undefined;
};
Expand Down

0 comments on commit 66e57cd

Please sign in to comment.