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; } }