Skip to content

Commit

Permalink
feat: enable setting of tenant id on consultant creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuzynow committed Sep 15, 2023
1 parent d389b1a commit a690e74
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 a690e74

Please sign in to comment.