testing
This commit is contained in:
@@ -65,7 +65,7 @@ class ProcessStructureJob implements ShouldQueue
|
|||||||
//Setup the esi authentication container
|
//Setup the esi authentication container
|
||||||
$config = config('esi');
|
$config = config('esi');
|
||||||
//Get the refresh token from the database
|
//Get the refresh token from the database
|
||||||
$token = EsiToken::where(['character_id' => $this->charId])->get(['refresh_token', 'id']);
|
$token = EsiToken::where(['character_id' => $this->charId])->get(['refresh_token']);
|
||||||
$authentication = new EsiAuthentication([
|
$authentication = new EsiAuthentication([
|
||||||
'client_id' => $config['client_id'],
|
'client_id' => $config['client_id'],
|
||||||
'secret' => $config['secret'],
|
'secret' => $config['secret'],
|
||||||
|
|||||||
@@ -63,14 +63,16 @@ class StructureHelper {
|
|||||||
}
|
}
|
||||||
if(isset($structure->unanchors_at)) {
|
if(isset($structure->unanchors_at)) {
|
||||||
$struct->unanchors_at = $structure->unanchors_at;
|
$struct->unanchors_at = $structure->unanchors_at;
|
||||||
}
|
}
|
||||||
|
//Save the database record
|
||||||
|
$struct->save();
|
||||||
|
|
||||||
//If we set the structure services to true, let's save the services
|
//If we set the structure services to true, let's save the services
|
||||||
if($structure->services == true) {
|
if($structure->services == true) {
|
||||||
$this->StorestructureServices($structure->services, $structure->structure_id);
|
$this->StorestructureServices($structure->services, $structure->structure_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Save the database record
|
|
||||||
$struct->save();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function UpdateExistingStructure($structure, $info, $solarName) {
|
public function UpdateExistingStructure($structure, $info, $solarName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user