This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const createReadStream = require('fs').createReadStream; | |
| const path = require('path'); | |
| const process = require('process'); | |
| const { google } = require('googleapis'); | |
| // Downloaded from while creating credentials of service account | |
| const pkey = require('./pk.json'); | |
| const SCOPES = ['https://www.googleapis.com/auth/drive.file']; |