Fixed environment.get param in getEnvironmentDetails