admincontroller

This commit is contained in:
2018-12-30 03:21:59 -06:00
parent 5de44bc25d
commit 76667a292a

View File

@@ -91,27 +91,17 @@ class SendMail extends Command
'<br>Please remit to Spatial Forces';
try {
$esi->setBody([
'mail' => [
'body' => $body,
'recipients' => [
(int)$bill->character_id => 'character'
],
'subject' => $subject,
]
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
/*
$esi->setBody([
'approved_cost' => 0,
'body' => $body,
'recipients' => [
(int)$bill->character_id => 'character'
'recipient_id' => (int)$bill->character_id,
'recipient_type' => 'character',
],
'subject' => $subject,
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
*/
} catch(RequestFailedException $e) {
//