Fix syntax error
This commit is contained in:
parent
8ae5d4e770
commit
31ae5b749b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class PlaceService
|
||||||
$place = Place::where(
|
$place = Place::where(
|
||||||
'external_urls',
|
'external_urls',
|
||||||
'@>',
|
'@>',
|
||||||
json_encode('foursquare' => $checkin['properties']['url'][0]
|
json_encode(['foursquare' => $checkin['properties']['url'][0]])
|
||||||
)->get();
|
)->get();
|
||||||
if (count($place) === 1) {
|
if (count($place) === 1) {
|
||||||
return $place->first();
|
return $place->first();
|
||||||
|
|
Loading…
Add table
Reference in a new issue