Skip to content

Commit ed7afb9

Browse files
committed
fix wework config.
1 parent 63e7fa6 commit ed7afb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function register()
7676
});
7777
}
7878

79-
if (!empty(config('wechat.'.$name.'.app_id'))) {
79+
if (!empty(config('wechat.'.$name.'.app_id')) || !empty(config('wechat.'.$name.'.corp_id'))) {
8080
$accounts = [
8181
'default' => config('wechat.'.$name),
8282
];

0 commit comments

Comments
 (0)