|
|
@@ -297,8 +297,8 @@ public class UserController extends BaseController {
|
|
|
|
|
|
@GetMapping("/collectionInvite")
|
|
|
public List<User> collectionInvite(@RequestParam Long collectionId) {
|
|
|
- return userRepo.findAllByCollectionIdAndCollectionInvitor(collectionId, SecurityUtils.getAuthenticatedUser()
|
|
|
- .getId());
|
|
|
+ return userRepo.findAllByCollectionIdAndCollectionInvitorAndSettleAccountIdIsNotNull(collectionId,
|
|
|
+ SecurityUtils.getAuthenticatedUser().getId());
|
|
|
}
|
|
|
|
|
|
@PreAuthorize("hasAnyRole('ADMIN')")
|