lib/redd/clients/userless.rb in redd-0.7.9 vs lib/redd/clients/userless.rb in redd-0.7.10
- old
+ new
@@ -22,11 +22,11 @@
def authorize!
response = auth_connection.post(
"/api/v1/access_token",
grant_type: "client_credentials"
)
-
@access = Access.new(response.body)
+ reset_connection!
end
end
end
end