Skip to content

Commit

Permalink
Fix for gjenopprett NullPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
stigus committed Sep 6, 2024
1 parent 357fa42 commit 42e805b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ public List<BestillingProgress> getProgressByBestillingId(Long bestillingId) {

private String filterAvailable(Collection<String> environments) {

if (isNull(environments) || environments.isEmpty()) {
return null;
}

var miljoer = miljoerConsumer.getMiljoer().block();

if (isNull(miljoer)) {
Expand Down

0 comments on commit 42e805b

Please sign in to comment.