Skip to content

Commit 188dbcb

Browse files
authored
Update Clientable.php
1 parent 153136c commit 188dbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Clientable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function __call($method, $args)
117117
if ($this->response instanceof \GuzzleHttp\Psr7\Response) {
118118
$this->result = $this->castResponse($this->response);
119119

120-
$this->attributes = $this->result;
120+
$this->attributes = static::makeAttribute($this->result);
121121
}
122122

123123
// 将 promise 请求直接返回

0 commit comments

Comments
 (0)