Skip to content

Commit 6678c17

Browse files
thewheatchoran
authored andcommitted
Remove invalid company session setter (#233)
1 parent 47c5c2d commit 6678c17

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

intercom-java/src/main/java/io/intercom/api/Company.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public static Company update(Company company) throws InvalidException, Authoriza
3737
final CompanyWithStringPlan entity = new CompanyWithStringPlan();
3838
entity.setCompanyID(company.getCompanyID());
3939
entity.setName(company.getName());
40-
entity.setSessionCount(company.getSessionCount());
4140
entity.setMonthlySpend(company.getMonthlySpend());
4241
entity.setRemoteCreatedAt(company.getRemoteCreatedAt());
4342
entity.setIndustry(company.getIndustry());

intercom-java/src/main/java/io/intercom/api/CompanyUpdateBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ private static CompanyWithStringPlan prepareUpdatableCompany(Company company) {
5353
updatableCompany.setId(company.getId());
5454
updatableCompany.setCompanyID(company.getCompanyID());
5555
updatableCompany.setName(company.getName());
56-
updatableCompany.setSessionCount(company.getSessionCount());
5756
updatableCompany.setMonthlySpend(company.getMonthlySpend());
5857
updatableCompany.setRemoteCreatedAt(company.getRemoteCreatedAt());
5958
updatableCompany.setIndustry(company.getIndustry());

0 commit comments

Comments
 (0)