stuff
This commit is contained in:
@@ -52,7 +52,7 @@ class BlacklistController extends Controller
|
|||||||
$count = BlacklistUser::where([
|
$count = BlacklistUser::where([
|
||||||
'name' => $request->name,
|
'name' => $request->name,
|
||||||
])->count();
|
])->count();
|
||||||
|
dd($count);
|
||||||
//If the count is 0, then add the character to the blacklist
|
//If the count is 0, then add the character to the blacklist
|
||||||
if($count === 0) {
|
if($count === 0) {
|
||||||
//Get the character id from the universe end point
|
//Get the character id from the universe end point
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ class NewLookupHelper {
|
|||||||
|
|
||||||
if(isset($response->characters[0]->id)) {
|
if(isset($response->characters[0]->id)) {
|
||||||
$this->StoreCharacterLookup($response->characters[0]->id, null);
|
$this->StoreCharacterLookup($response->characters[0]->id, null);
|
||||||
dd($response);
|
|
||||||
return $response->characters[0]->id;
|
return $response->characters[0]->id;
|
||||||
} else {
|
} else {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user