Fixed a typo in client
This commit is contained in:
parent
1c79f5561a
commit
334d254517
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func NewClient(httpClient *http.Client) *Client {
|
||||||
// ListOptions specifies general pagination options for fetching a list of results
|
// ListOptions specifies general pagination options for fetching a list of results
|
||||||
type ListOptions struct {
|
type ListOptions struct {
|
||||||
PerPage int `url:",omitempty" json:",omitempty"`
|
PerPage int `url:",omitempty" json:",omitempty"`
|
||||||
Page int `url:",moitempty" json:",omitempty"`
|
Page int `url:",omitempty" json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o ListOptions) PageOrDefault() int {
|
func (o ListOptions) PageOrDefault() int {
|
||||||
|
|
Reference in a new issue