added variable for easier modifications
This commit is contained in:
parent
277236057e
commit
010397ef63
@ -13,7 +13,7 @@ func (c *Client) GetFavorites(user models.E621User) ([]models.Post, error) {
|
|||||||
var URIPath string
|
var URIPath string
|
||||||
|
|
||||||
for {
|
for {
|
||||||
URIPath = fmt.Sprintf("favorites.json?user_id=%d&limit=320&page=%d", user.ID, page)
|
URIPath = fmt.Sprintf("favorites.json?user_id=%d&limit=%d&page=%d", user.ID, page, 320)
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"id": user.ID,
|
"id": user.ID,
|
||||||
"fav_page": page,
|
"fav_page": page,
|
||||||
|
Reference in New Issue
Block a user