Remove api usage state for system sendEmail method
This commit is contained in:
parent
4d21c92fb6
commit
b681abfe42
@ -161,7 +161,6 @@ public class DefaultMailService implements MailService {
|
|||||||
@Override
|
@Override
|
||||||
public void sendEmail(TenantId tenantId, String email, String subject, String message) throws ThingsboardException {
|
public void sendEmail(TenantId tenantId, String email, String subject, String message) throws ThingsboardException {
|
||||||
sendMail(mailSender, mailFrom, email, subject, message);
|
sendMail(mailSender, mailFrom, email, subject, message);
|
||||||
apiUsageClient.report(tenantId, ApiUsageRecordKey.EMAIL_EXEC_COUNT, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user