From c21d48fc1e039710b894e72db31795e40af06374 Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Tue, 28 May 2024 14:30:37 +0200 Subject: [PATCH] fix --- .../src/Boilerplate.Server/Services/SmsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Services/SmsService.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Services/SmsService.cs index 52715eacfc..646b32aec6 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Services/SmsService.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Boilerplate.Server/Services/SmsService.cs @@ -20,7 +20,7 @@ public async Task SendSms(string messageText, string phoneNumber, CancellationTo var messageOptions = new CreateMessageOptions(new(phoneNumber)) { - From = new PhoneNumber(appSettings.SmsSettings.FromPhoneNumber), + From = new(appSettings.SmsSettings.FromPhoneNumber), Body = messageText };