diff --git a/app/Console/Commands/calculatemarkettax.php b/app/Console/Commands/calculatemarkettax.php index b0eaf6865..9e8f0c330 100644 --- a/app/Console/Commands/calculatemarkettax.php +++ b/app/Console/Commands/calculatemarkettax.php @@ -122,15 +122,16 @@ class CalculateMarketTax extends Command '
Please remit to Spatial Forces'; try { $this->line('Attemping to send the mail.'); - $esi->setBody([ - 'approved_cost' => 50000, - 'body' => $body, - 'recipients' => [ - 'recipient_id' => (int)$info->character_id, - 'recipient_type' => 'character', - ], - 'subject' => $subject, - ])->invoke('post', '/characters/{character_id}/mail/', [ + $esi->setBody('\"approved_cost\": 0, \"body\": \"Test\", \"recipients\": [ { \"recipient_id\": 92626011, \"recipient_type\": \"character\" } ], \"subject\": \"Test\"') + //$esi->setBody([ + // 'approved_cost' => 50000, + // 'body' => $body, + // 'recipients' => [ + // 'recipient_id' => (int)$info->character_id, + // 'recipient_type' => 'character', + // ], + // 'subject' => $subject,]) + ->invoke('post', '/characters/{character_id}/mail/', [ 'character_id'=> 93738489, ]); $this->line('Mail sent.');