mirror of https://github.com/halo-dev/halo
fix: the order of contributors for posts is not fixed
parent
a4e862cfc4
commit
a5b0e866bd
|
@ -170,7 +170,7 @@ public class PostServiceImpl extends AbstractContentService implements PostServi
|
|||
return Flux.empty();
|
||||
}
|
||||
return Flux.fromIterable(usernames)
|
||||
.flatMap(userService::getUserOrGhost)
|
||||
.concatMap(userService::getUserOrGhost)
|
||||
.map(user -> {
|
||||
Contributor contributor = new Contributor();
|
||||
contributor.setName(user.getMetadata().getName());
|
||||
|
|
Loading…
Reference in New Issue