From e1a88003e6ea4608fd0cf91c4fd1c5d1bc9c35c4 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Sat, 20 Feb 2016 15:56:07 -0600 Subject: [PATCH] Will use current rate limit method for forseable future, closes #12 --- restapi.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/restapi.go b/restapi.go index 1552dc4..9cfb95d 100644 --- a/restapi.go +++ b/restapi.go @@ -113,9 +113,6 @@ func (s *Session) request(method, urlStr, contentType string, b []byte) (respons // TODO check for 401 response, invalidate token if we get one. case 429: // TOO MANY REQUESTS - Rate limiting - // This will be changed to a more robust method later. - // which may be hugely different as this method could cause - // unending recursion rl := RateLimit{} err = json.Unmarshal(response, &rl) if err != nil {