Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #193 from Cotemero/master
Browse files Browse the repository at this point in the history
fix(ENSE_IDS): Parsing issue
  • Loading branch information
miguelantoniosantos committed Aug 14, 2019
2 parents 882bc74 + fb26a56 commit edb9d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/MapEnseIds.php
Expand Up @@ -41,7 +41,7 @@ public function handle()
{
$json = \file_get_contents('https://pastebin.com/raw/UgtUMMB2');
$obj = \json_decode($json, true);
foreach ($obj['result'] as $point) {
foreach ($obj['ense'] as $point) {
$fuel_station = FuelStation::where('id', '=', $point['vost_id'])->get()->first();
if ($fuel_station) {
$data = [
Expand Down

0 comments on commit edb9d65

Please sign in to comment.