Fix sync/async override in sms (#37621)
parent
aeb0504c1c
commit
d0632ab636
|
@ -42,7 +42,7 @@ class SMSNotificationService(BaseNotificationService):
|
||||||
self.gateway = gateway
|
self.gateway = gateway
|
||||||
self.number = number
|
self.number = number
|
||||||
|
|
||||||
async def send_message(self, message="", **kwargs):
|
async def async_send_message(self, message="", **kwargs):
|
||||||
"""Send SMS message."""
|
"""Send SMS message."""
|
||||||
smsinfo = {
|
smsinfo = {
|
||||||
"Class": -1,
|
"Class": -1,
|
||||||
|
|
Loading…
Reference in New Issue