From 95c66edb657a08556cfbaa96e73eb8f6af6c0c44 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 6 Jun 2023 11:48:11 +0100 Subject: [PATCH] Clean code --- packages/server/src/api/controllers/datasource.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/server/src/api/controllers/datasource.ts b/packages/server/src/api/controllers/datasource.ts index 5f96536799..d765d96dcd 100644 --- a/packages/server/src/api/controllers/datasource.ts +++ b/packages/server/src/api/controllers/datasource.ts @@ -309,11 +309,6 @@ export async function update(ctx: UserCtx) { builderSocket?.emitDatasourceUpdate(ctx, datasource) } -const preSaveAction: Partial> = { - [SourceName.GOOGLE_SHEETS]: async (datasource: Datasource) => { - await googleSetupCreationAuth(datasource.config as any) - }, -} const preSaveAction: Partial> = { [SourceName.GOOGLE_SHEETS]: async (datasource: Datasource) => {