Skip to content

Commit

Permalink
Issue #SB-10153 fix: Fixed system API issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmiableAnil committed Jan 7, 2019
1 parent dc7806b commit 9384207
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/services/framework/framework.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class FrameworkService {
updatedFrameworkResponseBody: any = {};
currentFrameworkCategories: Array<any> = [];
currentFrameworkId: string = '';
SYSTEM_SETING_CUSTODIAN_ORG_ID = 'custodianOrgId';
SYSTEM_SETING_CUSTODIAN_ORG_ID = 'custodianRootOrgId';

constructor(
private factory: ServiceProvider,
Expand All @@ -38,9 +38,8 @@ export class FrameworkService {
console.log('getSystemSetting:success ' + response);

let systemSettingResponse = JSON.parse(response);
if (systemSettingResponse && systemSettingResponse.result
&& systemSettingResponse.result.response) {
resolve(systemSettingResponse.result.response.value);
if (systemSettingResponse && systemSettingResponse.result) {
resolve(systemSettingResponse.result.value);
} else {
reject();
}
Expand Down

0 comments on commit 9384207

Please sign in to comment.