mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 01:46:26 +00:00
remove object aliasing from buildReceiversListFromActions (#19495)
* remove object aliasing from buildReceiversListFromActions * fix linting --------- Co-authored-by: Siddhant <86899184+Siddhanttimeline@users.noreply.github.com> Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
This commit is contained in:
parent
6fba495daf
commit
2308d4a4f3
@ -338,7 +338,8 @@ public class SubscriptionUtil {
|
|||||||
.toList();
|
.toList();
|
||||||
receiverList.addAll(getEmailOrWebhookEndpointForTeams(teams, type));
|
receiverList.addAll(getEmailOrWebhookEndpointForTeams(teams, type));
|
||||||
} else {
|
} else {
|
||||||
receiverList = action.getReceivers() == null ? receiverList : action.getReceivers();
|
receiverList =
|
||||||
|
action.getReceivers() == null ? receiverList : new HashSet<>(action.getReceivers());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send to Admins
|
// Send to Admins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user