Fixed some things

This commit is contained in:
Simon Pocrnjič
2025-10-24 22:06:57 +02:00
parent 930ac83604
commit 266af6595e
2 changed files with 26 additions and 4 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ public function sendRaw(SmsProfile $profile, string $to, string $content, ?SmsSe
$log = new SmsLog([
'uuid' => (string) Str::uuid(),
'profile_id' => $profile->id,
'to_number' => /*$to*/'',
'to_number' => $to,
'sender' => $sender?->sname,
'message' => $content,
'status' => 'queued',
@@ -36,7 +36,7 @@ public function sendRaw(SmsProfile $profile, string $to, string $content, ?SmsSe
to: $to,
content: $content,
sender: $sender?->sname,
senderPhone: /*$sender?->phone_number*/'',
senderPhone: $sender?->phone_number,
countryCode: $countryCode,
deliveryReport: $deliveryReport,
clientReference: $clientReference,