Skip to content

Commit

Permalink
Updates version to 0.2.1. Removes an extraneous console log.
Browse files Browse the repository at this point in the history
  • Loading branch information
coco98 committed Oct 27, 2024
1 parent 2129693 commit 1d7705d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions connector-definition/template/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
})();
Expand Down
2 changes: 1 addition & 1 deletion ndc-duckduckapi/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 0 additions & 1 deletion ndc-duckduckapi/src/services/google-calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;');
Expand Down

0 comments on commit 1d7705d

Please sign in to comment.