Skip to content

Commit

Permalink
fix wrong middleware priority
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaktushose committed Dec 10, 2024
1 parent 869eb9c commit 67ebe49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public MiddlewareRegistry unregister(Priority priority, Collection<Middleware> m
* @return a set of all registered middlewares {@link Middleware Middlewares}
*/
public Set<Middleware> getMiddlewares() {
return middlewares.values().stream().flatMap(Collection::stream).collect(Collectors.toUnmodifiableSet());
return middlewares.sequencedValues().stream().flatMap(Collection::stream).collect(Collectors.toUnmodifiableSet());
}

/**
Expand Down

0 comments on commit 67ebe49

Please # to comment.