Skip to content

Commit cfd7bfb

Browse files
committed
fix manager config parser
1 parent a7d0b37 commit cfd7bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GetStream/StreamLaravel/StreamLaravelManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ class StreamLaravelManager {
99

1010
public function __construct($api_key, $api_secret, $config)
1111
{
12+
$this->config = $config;
1213
if (getenv('STREAM_URL') !== false) {
1314
$this->client = Client::herokuConnect(getenv('STREAM_URL'));
1415
} else {
1516
$this->client = new Client($api_key, $api_secret);
1617
$location = $this->config->get("stream-laravel::location");
1718
$this->client->setLocation($location);
1819
}
19-
$this->config = $config;
2020
$this->userFeed = $this->config->get("stream-laravel::user_feed");
2121
}
2222

0 commit comments

Comments
 (0)