Skip to content

Commit

Permalink
Merge pull request #217 from jaychan/patch-1
Browse files Browse the repository at this point in the history
Fixed config bug
  • Loading branch information
overtrue authored Jan 31, 2018
2 parents f052d53 + f0569ca commit 63e7fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function register()
});
}

if (empty(config('wechat.'.$name.'.default'))) {
if (!empty(config('wechat.'.$name.'.app_id'))) {
$accounts = [
'default' => config('wechat.'.$name),
];
Expand Down

0 comments on commit 63e7fa6

Please sign in to comment.