Skip to content

Commit

Permalink
Fix GetUserProfilePhotos.
Browse files Browse the repository at this point in the history
  • Loading branch information
onrik committed Jul 27, 2016
1 parent f16cffc commit 7634d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ func (bot *Bot) GetUserProfilePhotos(userID int64, options *GetUserProfilePhotos
}

if options != nil {
params["limit"] = []string{fmt.Sprintf("%d", options.limit)}
params["offset"] = []string{fmt.Sprintf("%d", options.offset)}
params["limit"] = []string{fmt.Sprintf("%d", options.Limit)}
params["offset"] = []string{fmt.Sprintf("%d", options.Offset)}
}

profilePhotos := new(UserProfilePhotos)
Expand Down

0 comments on commit 7634d22

Please sign in to comment.