Skip to content

Commit

Permalink
fix: #7994 app market dev id fix (#7995)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcvay authored Oct 26, 2022
1 parent 478ee8c commit afcec4b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const AppsInstalled: FC = () => {
const { connectSession, connectIsDesktop } = useReapitConnect(reapitConnectBrowserSession)
const clientId = connectSession?.loginIdentity.clientId
const developerId = connectSession?.loginIdentity.developerId
const isSandbox = clientId === 'SBOX' || clientId === 'SBXA'
const product = connectSession?.loginIdentity.orgProduct
const baseParams = {
clientId,
Expand All @@ -36,7 +37,7 @@ export const AppsInstalled: FC = () => {
product,
}

const queryParams = developerId ? { ...baseParams, developerId } : baseParams
const queryParams = developerId && isSandbox ? { ...baseParams, developerId } : baseParams

const [unfilteredApps, appsLoading] = useReapitGet<AppSummaryModelPagedResult>({
reapitConnectBrowserSession,
Expand Down

0 comments on commit afcec4b

Please sign in to comment.