mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-02 13:53:06 +00:00
fix(graphql): fix tag mapper (#3223)
This commit is contained in:
parent
9887ca9d69
commit
2d768ea89b
@ -37,7 +37,6 @@ public class TagSnapshotMapper implements ModelMapper<TagSnapshot, Tag> {
|
||||
if (TagProperties.class.cast(aspect).hasDescription()) {
|
||||
result.setDescription(TagProperties.class.cast(aspect).getDescription());
|
||||
}
|
||||
result.setName(TagProperties.class.cast(aspect).getName());
|
||||
} else if (aspect instanceof Ownership) {
|
||||
result.setOwnership(OwnershipMapper.map((Ownership) aspect));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user