Fix auth token revocation (#157)

This commit is contained in:
Tadas Tamošauskas authored and Graham Paye committed 2018-08-15 12:50:16 -07:00
1 parent 9b49da35b6
commit e521abd799
3 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ module Google
c = options[:connection] || Faraday.default_connection
retry_with_error do
resp = c.get(REVOKE_TOKEN_URI, token: refresh_token || access_token)
resp = c.post(REVOKE_TOKEN_URI, token: refresh_token || access_token)
case resp.status
when 200
self.access_token = nil