Skip to content

Commit c8c50db

Browse files
committed
Drive version set back to 2
1 parent abe2bfd commit c8c50db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/callbacks_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def getSheet(tkn)
3636
client = Google::APIClient.new
3737
client.authorization.access_token = tkn['access_token']
3838
#session = GoogleDrive.login_with_oauth(tkn["access_token"])
39-
drive = client.discovered_api('drive', 'v3')
39+
drive = client.discovered_api('drive', 'v2')
4040

4141
wks = client.execute(
4242
api_method: drive.files.list,

0 commit comments

Comments
 (0)