From 98762d510ad9fab37ede32a0670bf85a9fe9ab8f Mon Sep 17 00:00:00 2001 From: mshanemc Date: Mon, 4 Dec 2023 09:53:37 -0600 Subject: [PATCH] fix: backward logic on scratch/sbox --- src/org/org.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/org.ts b/src/org/org.ts index 73cd860b28..8313a90e89 100644 --- a/src/org/org.ts +++ b/src/org/org.ts @@ -686,8 +686,8 @@ export class Org extends AsyncOptionalCreatable { [Org.Fields.NAME]: organization.Name, [Org.Fields.INSTANCE_NAME]: organization.InstanceName, [Org.Fields.NAMESPACE_PREFIX]: organization.NamespacePrefix, - [Org.Fields.IS_SANDBOX]: organization.IsSandbox && Boolean(organization.TrialExpirationDate), - [Org.Fields.IS_SCRATCH]: organization.IsSandbox && !organization.TrialExpirationDate, + [Org.Fields.IS_SANDBOX]: organization.IsSandbox && !organization.TrialExpirationDate, + [Org.Fields.IS_SCRATCH]: organization.IsSandbox && Boolean(organization.TrialExpirationDate), [Org.Fields.TRIAL_EXPIRATION_DATE]: organization.TrialExpirationDate, }; const stateAggregator = await StateAggregator.getInstance();