Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
fix(customer/company): creating extra log when merge
Browse files Browse the repository at this point in the history
close #520
  • Loading branch information
batamar committed Aug 8, 2019
1 parent a2e9c41 commit b59575f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/db/models/Companies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,6 @@ export const loadClass = () => {
await Deals.changeCompany(company._id, companyIds);
await Tickets.changeCompany(company._id, companyIds);

// create log
await ActivityLogs.createCompanyLog(company);

return company;
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/db/models/Customers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,6 @@ export const loadClass = () => {
await Deals.changeCustomer(customer._id, customerIds);
await Tickets.changeCustomer(customer._id, customerIds);

// create log
await ActivityLogs.createCustomerLog(customer);

return customer;
}
}
Expand Down

0 comments on commit b59575f

Please sign in to comment.