Skip to content

Commit

Permalink
MODCON-148. Revert deleting tenant name
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiNosko committed Apr 8, 2024
1 parent 6e34ae6 commit 8ad7b6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/folio/consortia/config/AppConfig.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.folio.consortia.config;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.folio.consortia.domain.converter.ConsortiumConverter;
import org.folio.consortia.domain.converter.TenantEntityToTenantConverter;
import org.folio.consortia.domain.converter.UserTenantConverter;
Expand Down Expand Up @@ -45,7 +46,8 @@ public ObjectMapper objectMapper() {
final ObjectMapper objectMapper = new ObjectMapper();
objectMapper.findAndRegisterModules()
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false)
.setSerializationInclusion(JsonInclude.Include.NON_NULL);
return objectMapper;
}

Expand Down

0 comments on commit 8ad7b6c

Please sign in to comment.