Skip to content

Commit

Permalink
temporal solution to fix single tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
aidynoJ committed Jan 8, 2024
1 parent 92484b6 commit 302275a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class StripesCore extends Component {
const parsedTenant = storedTenant ? JSON.parse(storedTenant) : undefined;

const okapi = (typeof okapiConfig === 'object' && Object.keys(okapiConfig).length > 0)
? { ...okapiConfig, tenant: parsedTenant?.tenantName || okapiConfig.tenant, clientId: parsedTenant?.clientId } : { withoutOkapi: true };
? { ...okapiConfig, tenant: parsedTenant?.tenantName || okapiConfig.tenant, clientId: parsedTenant?.clientId || okapiConfig.clientId } : { withoutOkapi: true };

Check failure on line 29 in src/App.js

View workflow job for this annotation

GitHub Actions / build-npm

Multiple spaces found before '}'

const initialState = merge({}, { okapi }, props.initialState);

Expand Down

0 comments on commit 302275a

Please sign in to comment.