removed comments and utils

This commit is contained in:
aadamgough
2025-12-06 15:35:08 -08:00
parent 7671ec35e8
commit e7936f7e1d
2 changed files with 0 additions and 5 deletions

View File

@@ -67,8 +67,6 @@ export async function getOAuthToken(userId: string, providerId: string): Promise
accessToken: account.accessToken,
refreshToken: account.refreshToken,
accessTokenExpiresAt: account.accessTokenExpiresAt,
accountId: account.accountId,
providerId: account.providerId,
})
.from(account)
.where(and(eq(account.userId, userId), eq(account.providerId, providerId)))

View File

@@ -32,7 +32,6 @@ function buildInsertSQL(
return 'NULL'
}
if (typeof val === 'string') {
// Escape single quotes by doubling them
return `'${val.replace(/'/g, "''")}'`
}
if (typeof val === 'boolean') {
@@ -153,7 +152,6 @@ export const snowflakeInsertRowsTool: ToolConfig<
}
}
// Build INSERT SQL
const insertSQL = buildInsertSQL(
params.database,
params.schema,
@@ -202,7 +200,6 @@ export const snowflakeInsertRowsTool: ToolConfig<
const data = await response.json()
// Get number of rows inserted from response
const rowsInserted = data.statementStatusUrl ? params?.values.length || 0 : 0
return {