diff --git a/src/main/java/gov/cabinetoffice/gap/adminbackend/mappers/SchemeMapper.java b/src/main/java/gov/cabinetoffice/gap/adminbackend/mappers/SchemeMapper.java index d11c4a28..7f7803c4 100644 --- a/src/main/java/gov/cabinetoffice/gap/adminbackend/mappers/SchemeMapper.java +++ b/src/main/java/gov/cabinetoffice/gap/adminbackend/mappers/SchemeMapper.java @@ -76,6 +76,7 @@ private void setLastUpdatedByValues(SchemeEntity schemeEntity, SchemeDTO.SchemeD @Mapping(target = "ggisIdentifier", source = "ggisReference") @Mapping(target = "email", source = "contactEmail") + @Mapping(target = "name", source = "grantName") public abstract SchemeEntity schemePostDtoToEntity(SchemePostDTO schemePostDto); public abstract List schemePostDtoListToEntityList(List schemePostDtoList);