lib/protolink/protonet.rb in protolink-0.2.8 vs lib/protolink/protonet.rb in protolink-0.2.9

- old
+ new

@@ -133,10 +133,10 @@ response = get("/api/v1/users/#{id}") User.new(self, response) if response end def find_user_by_login(login) - response = get("/api/v1/users/#{login}") + response = get("/api/v1/users/find_by_login/#{login}") User.new(self, response) if response end # LISTENS def create_listen(user_id, channel_id)