Commit c80d6b4c authored by Muhammad Dewji's avatar Muhammad Dewji 🐴

attempt to initialize service account

parent 30829a1c
......@@ -109,8 +109,8 @@ class GoogleDriveClient
attr_reader :session
def initialize(config)
@session = GoogleDrive::Session.from_config(config)
def initialize()
@session = GoogleDrive::Session.from_service_account_key(ENV['GOOGLE_DRIVE_SERVICE_ACCOUNT_KEY'])
end
def valid_file?(folders, filename, file_size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment