Skip to content

Commit

Permalink
Fix getStatusesUserTimelineWithUserID not returning specified user's …
Browse files Browse the repository at this point in the history
…timeline, fixes #57
  • Loading branch information
mattdonnelly committed Oct 22, 2014
1 parent d384300 commit 6386661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Swifter/SwifterTimelines.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public extension Swifter {
public func getStatusesUserTimelineWithUserID(userID: String, count: Int?, sinceID: String?, maxID: String?, trimUser: Bool?, contributorDetails: Bool?, includeEntities: Bool?, success: ((statuses: [JSONValue]?) -> Void)?, failure: FailureHandler?) {
var parameters: Dictionary<String, AnyObject> = ["user_id": userID]

self.getTimelineAtPath("statuses/user_timeline.json", parameters: [:], count: count, sinceID: sinceID, maxID: maxID, trimUser: trimUser, contributorDetails: contributorDetails, includeEntities: includeEntities, success: success, failure: failure)
self.getTimelineAtPath("statuses/user_timeline.json", parameters: parameters, count: count, sinceID: sinceID, maxID: maxID, trimUser: trimUser, contributorDetails: contributorDetails, includeEntities: includeEntities, success: success, failure: failure)
}

/*
Expand Down

0 comments on commit 6386661

Please sign in to comment.