Skip to content

Commit 8410914

Browse files
tanushreegoraigemini-code-assist[bot]ktrysmt
authored
Added *http.Response in the Response struct (#307)
* Added *http.Response in the Response struct * Update client.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update client.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update client.go --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Kotaro Yoshimatsu <kotaro.yoshimatsu@gmail.com>
1 parent 4971967 commit 8410914

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type auth struct {
6262
}
6363

6464
type Response struct {
65+
*http.Response `json:"-"`
6566
Size int `json:"size"`
6667
Page int `json:"page"`
6768
Pagelen int `json:"pagelen"`
@@ -193,7 +194,7 @@ func injectClient(a *auth) *Client {
193194
}
194195
c.Users = &Users{
195196
c: c,
196-
SSHKeys: &SSHKeys{c: c},
197+
SSHKeys: &SSHKeys{c: c},
197198
}
198199
c.User = &User{c: c}
199200
c.Teams = &Teams{c: c}

0 commit comments

Comments
 (0)