From 3f9af0173047e92f245ce4719ad4b81798ee39b4 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Oct 2018 22:23:58 -0500 Subject: [PATCH] stdclass error --- app/Library/MoonCalc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Library/MoonCalc.php b/app/Library/MoonCalc.php index 1c3583316..8490a5083 100644 --- a/app/Library/MoonCalc.php +++ b/app/Library/MoonCalc.php @@ -120,6 +120,7 @@ class MoonCalc { $uri = '?region=10000002&types=' . $value; $result = $client->request('GET', $uri); $item = json_decode($result->getBody()); + dd($item->value); DB::table('Prices')->insert([ 'Name' => $key, 'ItemId' => $value,