From 26de25382ec6f0942bd55d1557688111cae65ff6 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 5 Oct 2016 17:47:25 +0100 Subject: [PATCH 1/2] Use the correct method --- app/Jobs/SyndicateToTwitter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/SyndicateToTwitter.php b/app/Jobs/SyndicateToTwitter.php index 4a5c756a..0e0bf3f7 100644 --- a/app/Jobs/SyndicateToTwitter.php +++ b/app/Jobs/SyndicateToTwitter.php @@ -52,8 +52,8 @@ class SyndicateToTwitter implements ShouldQueue $lng = trim($location[1]); } if ($this->note->place) { - $lat = $this->note->place->getLat(); - $lng = $this->note->place->getLng(); + $lat = $this->note->place->location->getLat(); + $lng = $this->note->place->location->getLng(); } if (isset($lat) && isset($lng)) { $tweetOpts['lat'] = $lat; From 63ad55638863b78d5c32f459e3f8ee6c5ff00f06 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 5 Oct 2016 17:48:24 +0100 Subject: [PATCH 2/2] Bump version number --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index ac7e99cb..6e727822 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.0.13.7 (2016-10-05) + - Use the correct `laravel-postgis` method call during syndication + ## Version 0.0.13.6 (2016-10-05) - Syndicate lat/lng values (issue#22)