Skip to content

Commit

Permalink
Merge pull request #3499 from atlanhq/mesh-148-link-api-beta
Browse files Browse the repository at this point in the history
MESH-192 : Bulk link api for domain<>asset link
  • Loading branch information
PRATHAM2002-DS committed Sep 10, 2024
2 parents 50359b9 + 9437281 commit e414370
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5018,7 +5018,7 @@ public List<AtlasVertex> unlinkMeshEntityFromAssets(String meshEntityId, Set<Str

Set<String> existingValues = ev.getMultiValuedSetProperty(DOMAIN_GUIDS_ATTR, String.class);

if (meshEntityId.isEmpty() != existingValues.contains(meshEntityId)) {
if (meshEntityId.isEmpty() || existingValues.contains(meshEntityId)) {
isAuthorizedToLink(ev);

if (meshEntityId.isEmpty() || meshEntityId == null) {
Expand Down

0 comments on commit e414370

Please sign in to comment.