Skip to content

Commit

Permalink
Merge pull request #672 from Onlineberatung/OB-5247-enrich-consultant…
Browse files Browse the repository at this point in the history
…-response-data-with-tenant-id

feat: enable setting of tenant id on consultant creation
  • Loading branch information
tkuzynow authored Sep 18, 2023
2 parents d389b1a + a690e74 commit 551b83c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ private ConsultantDTO buildConsultantDTO(Consultant consultant) {
.createDate(String.valueOf(consultant.getCreateDate()))
.updateDate(String.valueOf(consultant.getUpdateDate()))
.deleteDate(String.valueOf(consultant.getDeleteDate()))
.status(String.valueOf(consultant.getStatus()));
.status(String.valueOf(consultant.getStatus()))
.tenantId(consultant.getTenantId() != null ? consultant.getTenantId().intValue() : null);
}

private HalLink buildSelfLink() {
Expand Down

0 comments on commit 551b83c

Please sign in to comment.