Skip to content

Commit

Permalink
Merge pull request #50 from tattsun/fix
Browse files Browse the repository at this point in the history
Fix incorrect base URL used in getUserStreamDelimited
  • Loading branch information
mattdonnelly committed Oct 7, 2014
2 parents 3f8b89b + 7119c68 commit a7f9f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Swifter/SwifterStreaming.swift
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public extension Swifter {
parameters["stringify_friend_ids"] = stringifyFriendIDs!
}

self.getJSONWithPath(path, baseURL: self.streamURL, parameters: parameters, uploadProgress: nil, downloadProgress: {
self.getJSONWithPath(path, baseURL: self.userStreamURL, parameters: parameters, uploadProgress: nil, downloadProgress: {
json, response in

if let stallWarning = json["warning"].object {
Expand Down

0 comments on commit a7f9f45

Please sign in to comment.