updated lookup helpers
This commit is contained in:
@@ -36,10 +36,10 @@ class LookupHelper {
|
|||||||
$configuration->cache = NullCache::class;
|
$configuration->cache = NullCache::class;
|
||||||
//Setup class variables
|
//Setup class variables
|
||||||
$esi = new Eseye();
|
$esi = new Eseye();
|
||||||
dd($character);
|
|
||||||
|
|
||||||
//Attempt to find the character name in the LookupCharacter table to see if we can match it to an id
|
//Attempt to find the character name in the LookupCharacter table to see if we can match it to an id
|
||||||
$count = CharacterToCorporation::where(['character_name' => $character])->count();
|
$count = CharacterToCorporation::where(['character_name' => $character])->count();
|
||||||
|
dd($count);
|
||||||
if($count == 0) {
|
if($count == 0) {
|
||||||
try {
|
try {
|
||||||
//Get the character id from the ESI API.
|
//Get the character id from the ESI API.
|
||||||
|
|||||||
Reference in New Issue
Block a user