Skip to content

Commit 60ca3f2

Browse files
committed
Fix product test failure
1 parent 8a759aa commit 60ca3f2

File tree

1 file changed

+1
-2
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl

1 file changed

+1
-2
lines changed

components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIAdminImpl.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,7 @@ public Environment addEnvironment(String tenantDomain, Environment environment)
202202
validateForUniqueVhostNames(environment);
203203
Environment environmentToStore = new Environment(environment);
204204
encryptGatewayConfigurationValues(null, environmentToStore);
205-
apiMgtDAO.addEnvironment(tenantDomain, environmentToStore);
206-
return environment;
205+
return apiMgtDAO.addEnvironment(tenantDomain, environmentToStore);
207206
}
208207

209208
@Override

0 commit comments

Comments
 (0)