From f30877b46b2227950dd016ee0b3a90065bf969ae Mon Sep 17 00:00:00 2001 From: Sauli Anto Date: Tue, 8 Sep 2020 14:57:06 +0300 Subject: [PATCH] Fix tab indentation --- .../main/kotlin/package/service/mapper/EntityMapper.kt.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/entity-server/templates/src/main/kotlin/package/service/mapper/EntityMapper.kt.ejs b/generators/entity-server/templates/src/main/kotlin/package/service/mapper/EntityMapper.kt.ejs index 297a9e205..f62bb404f 100644 --- a/generators/entity-server/templates/src/main/kotlin/package/service/mapper/EntityMapper.kt.ejs +++ b/generators/entity-server/templates/src/main/kotlin/package/service/mapper/EntityMapper.kt.ejs @@ -84,7 +84,7 @@ relationships.forEach((relationship, index) => { }); _%> <%_ if (relationships.length !== 0 && renMapAnotEnt === true) { _%> @Mappings( - <%- entityToDTOMapping.join(',\n\t\t') %> + <%- entityToDTOMapping.join(',\n\s\s\s\s\s\s\s\s') %> ) <%_ } _%> <%_ if (renMapAnotEnt === true) { _%> @@ -120,7 +120,7 @@ relationships.forEach((relationship, index) => { }); _ %> <%_ if (relationships.length !== 0 && renMapAnotEnt === true) { _%> @Mappings( - <%- dtoToEntityMapping.join(',\n\t\t') %> + <%- dtoToEntityMapping.join(',\n\s\s\s\s\s\s\s\s') %> ) <%_ } _%> override fun toEntity(<%= asDto(entityInstance) %>: <%= asDto(entityClass) %>): <%= asEntity(entityClass) %>