File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " authing-sdk/php" ,
3
3
"description" : " authing-php-sdk" ,
4
4
"minimum-stability" : " stable" ,
5
- "version" : " 4.2.1 " ,
5
+ "version" : " 4.2.2 " ,
6
6
"require" : {
7
7
"php" : " >=5.4" ,
8
8
"ext-curl" : " *" ,
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ public function __construct($userPoolIdOrFunc)
89
89
$ this ->appId = $ this ->options ->appId ;
90
90
}
91
91
92
- if (isset ($ this ->options ->host )) {
93
- $ this ->host = $ this ->options ->host ;
92
+ if (isset ($ this ->options ->appHost )) {
93
+ $ this ->host = $ this ->options ->appHost ;
94
94
}
95
95
}
96
96
if (is_null ($ this ->userPoolId ) && is_null ($ this ->appId )) {
@@ -100,7 +100,7 @@ public function __construct($userPoolIdOrFunc)
100
100
// 设置默认值
101
101
self ::initDefaultOptions ($ this ->options );
102
102
103
- $ this ->naiveHttpClient = new Client (['base_uri ' => $ this ->options ->host ?? $ this ->host ]);
103
+ $ this ->naiveHttpClient = new Client (['base_uri ' => $ this ->options ->appHost ?? $ this ->host ]);
104
104
}
105
105
106
106
private static function initDefaultOptions ($ options ) {
You can’t perform that action at this time.
0 commit comments