mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
⚡ Dirty-Fix build
This commit is contained in:
parent
73010e1ae4
commit
abeae2ae9f
|
@ -18,5 +18,6 @@ export async function getAuthenticationClient(email: string, privateKey: string,
|
|||
// TODO: Check later if this or the above should be cached
|
||||
await client.authorize();
|
||||
|
||||
// @ts-ignore
|
||||
return client;
|
||||
}
|
||||
|
|
|
@ -827,6 +827,7 @@ export class GoogleDrive implements INodeType {
|
|||
|
||||
const drive = google.drive({
|
||||
version: 'v3',
|
||||
// @ts-ignore
|
||||
auth: client,
|
||||
});
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ export class GoogleSheet {
|
|||
async clearData(range: string): Promise<object> {
|
||||
const client = await this.getAuthenticationClient();
|
||||
|
||||
// @ts-ignore
|
||||
const response = await Sheets.spreadsheets.values.clear(
|
||||
{
|
||||
auth: client,
|
||||
|
@ -84,6 +85,7 @@ export class GoogleSheet {
|
|||
async getData(range: string, valueRenderMode: ValueRenderOption): Promise<string[][] | undefined> {
|
||||
const client = await this.getAuthenticationClient();
|
||||
|
||||
// @ts-ignore
|
||||
const response = await Sheets.spreadsheets.values.get(
|
||||
{
|
||||
auth: client,
|
||||
|
@ -103,6 +105,7 @@ export class GoogleSheet {
|
|||
async spreadsheetGetSheets() {
|
||||
const client = await this.getAuthenticationClient();
|
||||
|
||||
// @ts-ignore
|
||||
const response = await Sheets.spreadsheets.get(
|
||||
{
|
||||
auth: client,
|
||||
|
@ -121,6 +124,7 @@ export class GoogleSheet {
|
|||
async spreadsheetBatchUpdate(requests: sheets_v4.Schema$Request[]) { // tslint:disable-line:no-any
|
||||
const client = await this.getAuthenticationClient();
|
||||
|
||||
// @ts-ignore
|
||||
const response = await Sheets.spreadsheets.batchUpdate(
|
||||
{
|
||||
auth: client,
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
"formidable": "^1.2.1",
|
||||
"glob-promise": "^3.4.0",
|
||||
"gm": "^1.23.1",
|
||||
"googleapis": "^46.0.0",
|
||||
"googleapis": "~46.0.0",
|
||||
"imap-simple": "^4.3.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lodash.set": "^4.3.2",
|
||||
|
|
Loading…
Reference in a new issue