Skip to content

Commit

Permalink
fix wework config.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Mar 9, 2018
1 parent 63e7fa6 commit ed7afb9
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.'.app_id'))) {
if (!empty(config('wechat.'.$name.'.app_id')) || !empty(config('wechat.'.$name.'.corp_id'))) {
$accounts = [
'default' => config('wechat.'.$name),
];
Expand Down

0 comments on commit ed7afb9

Please sign in to comment.