Skip to content

Commit

Permalink
fix: allow to find parameters without environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ytvnr committed Mar 28, 2024
1 parent 0d95c63 commit bf6d1b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ private String getEffectiveReferenceId(
if (refIdToUse == null) {
if (referenceType == io.gravitee.rest.api.model.parameters.ParameterReferenceType.ORGANIZATION) {
refIdToUse = executionContext.getOrganizationId();
} else {
} else if (referenceType == io.gravitee.rest.api.model.parameters.ParameterReferenceType.ENVIRONMENT) {
refIdToUse = executionContext.getEnvironmentId();
}
}
Expand Down

0 comments on commit bf6d1b9

Please sign in to comment.