From 3197b5d18da0b606eaf7ed5d670a8d50f45beae0 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Fri, 29 May 2015 20:32:14 +0100 Subject: [PATCH] Fixes #682 --- app/Segment/HttpRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Segment/HttpRepository.php b/app/Segment/HttpRepository.php index f99570c1..12d18b53 100644 --- a/app/Segment/HttpRepository.php +++ b/app/Segment/HttpRepository.php @@ -52,6 +52,6 @@ class HttpRepository implements RepositoryInterface $body = json_decode($response->getBody()); - return $body['segment_write_key']; + return $body->segment_write_key; } }