Clean code

This commit is contained in:
Adria Navarro 2023-06-06 11:48:11 +01:00
parent e9d4dd51bb
commit 95c66edb65
1 changed files with 0 additions and 5 deletions

View File

@ -309,11 +309,6 @@ export async function update(ctx: UserCtx<any, UpdateDatasourceResponse>) {
builderSocket?.emitDatasourceUpdate(ctx, datasource)
}
const preSaveAction: Partial<Record<SourceName, any>> = {
[SourceName.GOOGLE_SHEETS]: async (datasource: Datasource) => {
await googleSetupCreationAuth(datasource.config as any)
},
}
const preSaveAction: Partial<Record<SourceName, any>> = {
[SourceName.GOOGLE_SHEETS]: async (datasource: Datasource) => {