From 1d7705d55ce36a9e909a3164fd7133b8b1f23540 Mon Sep 17 00:00:00 2001 From: Tanmai Gopal Date: Sat, 26 Oct 2024 21:44:14 -0700 Subject: [PATCH] Updates version to 0.2.1. Removes an extraneous console log. --- connector-definition/template/functions.ts | 1 + ndc-duckduckapi/package.json | 2 +- ndc-duckduckapi/src/services/google-calendar.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connector-definition/template/functions.ts b/connector-definition/template/functions.ts index 91e6681..2645ed0 100644 --- a/connector-definition/template/functions.ts +++ b/connector-definition/template/functions.ts @@ -18,6 +18,7 @@ const calendarLoaderState = { const calendarSyncManager = await GoogleCalendar.syncManager.create(calendarLoaderState, 1); await calendarSyncManager.initialize(); } catch (error) { + calendarLoaderState.state = `Stopped`; console.error(error); } })(); diff --git a/ndc-duckduckapi/package.json b/ndc-duckduckapi/package.json index ee9b011..f980fbf 100644 --- a/ndc-duckduckapi/package.json +++ b/ndc-duckduckapi/package.json @@ -1,6 +1,6 @@ { "name": "@hasura/ndc-duckduckapi", - "version": "0.1.5", + "version": "0.2.1", "description": "SDK for the Hasura DDN DuckDuckAPI connector. Easily build a data API from any existing API by ETLing data into DuckDB.", "author": "Hasura", "license": "Apache-2.0", diff --git a/ndc-duckduckapi/src/services/google-calendar.ts b/ndc-duckduckapi/src/services/google-calendar.ts index 67428f8..94c8bf8 100644 --- a/ndc-duckduckapi/src/services/google-calendar.ts +++ b/ndc-duckduckapi/src/services/google-calendar.ts @@ -186,7 +186,6 @@ export class SyncManager { client_id: this.credentials.client_id, client_secret: this.credentials.client_secret, } - console.log('GoogleCalendarLoader.Auth:: ' + 'Saving new set of credentials' + JSON.stringify(credentials)); if (credentials.refresh_token && credentials.expires_in && credentials.client_id && credentials.client_secret) { await asyncDBRun('BEGIN TRANSACTION;'); await asyncDBRun('DELETE FROM calendar_oauth2_client;');