diff --git a/app/Jobs/AwardContract.php b/app/Jobs/AwardContract.php deleted file mode 100644 index a18da50d6..000000000 --- a/app/Jobs/AwardContract.php +++ /dev/null @@ -1,34 +0,0 @@ -TokenInfo($charId); - $token = $tokenData['token']; - $scope = $tokenData['scope']; - - //If the token is not found, send the user an eve mail, and just exit out of the function - if($this->TokenNotFound($token, $scope)) { - printr("Token not found\n"); - return null; - } //Setup array for PI items $pi_items = [ @@ -138,6 +127,17 @@ class FinanceHelper { '2876', ]; + //Get the ESI refresh token for the corporation to add new wallet journals into the database + $tokenData = $this->TokenInfo($charId); + $token = $tokenData['token']; + $scope = $tokenData['scope']; + + //If the token is not found, send the user an eve mail, and just exit out of the function + if($this->TokenNotFound($token, $scope)) { + printr("Token not found\n"); + return null; + } + //Reference to see if the character is in our look up table for corporations and characters $corpId = $lookups->LookupCharacter($charId);