Commit b681abfe42c46c88afd3274a4ad4dcdadd8d8d44
1 parent
4d21c92f
Remove api usage state for system sendEmail method
Showing
1 changed file
with
0 additions
and
1 deletions
@@ -161,7 +161,6 @@ public class DefaultMailService implements MailService { | @@ -161,7 +161,6 @@ public class DefaultMailService implements MailService { | ||
161 | @Override | 161 | @Override |
162 | public void sendEmail(TenantId tenantId, String email, String subject, String message) throws ThingsboardException { | 162 | public void sendEmail(TenantId tenantId, String email, String subject, String message) throws ThingsboardException { |
163 | sendMail(mailSender, mailFrom, email, subject, message); | 163 | sendMail(mailSender, mailFrom, email, subject, message); |
164 | - apiUsageClient.report(tenantId, ApiUsageRecordKey.EMAIL_EXEC_COUNT, 1); | ||
165 | } | 164 | } |
166 | 165 | ||
167 | @Override | 166 | @Override |