aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx b/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
index 9f546c857c8..f074bde4aaa 100644
--- a/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
+++ b/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
@@ -170,7 +170,7 @@ export class CreateOrganization extends React.PureComponent<Props & WithRouterPr
return getAlmOrganization({ installationId })
.then(({ almOrganization, boundOrganization }) => {
if (boundOrganization) {
- return Promise.resolve({ almOrganization, boundOrganization });
+ return { almOrganization, boundOrganization };
}
return this.setValidOrgKey(almOrganization);
})