diff --git a/app/Console/Commands/sendmail.php b/app/Console/Commands/sendmail.php index a3e0df529..8e6a0bf5c 100644 --- a/app/Console/Commands/sendmail.php +++ b/app/Console/Commands/sendmail.php @@ -93,8 +93,7 @@ class SendMail extends Command $esi->setBody([ 'body' => $body, 'recipients' => [ - 'recipient_id' => (int)$bill->character_id, - 'recipient_type' => 'character', + (int)$bill->character_id => 'character' ], 'subject' => $subject, ])->invoke('post', '/characters/{character_id}/mail/', [