fix(graphql): fix tag mapper (#3223)

This commit is contained in:
Gabe Lyons 2021-09-10 16:54:21 -07:00 committed by GitHub
parent 9887ca9d69
commit 2d768ea89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}