diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 0000000000..a6dc687884 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,11 @@ +{ + "code_actions_on_format": { + "source.fixAll.biome": true, + "source.organizeImports.biome": true + }, + "formatter": { + "language_server": { + "name": "biome" + } + } +} diff --git a/packages/lib/src/google.ts b/packages/lib/src/google.ts index e431fe8954..da2841f151 100644 --- a/packages/lib/src/google.ts +++ b/packages/lib/src/google.ts @@ -7,7 +7,7 @@ import { encrypt } from "./api/encryption/encrypt"; import { isDefined } from "./utils"; export const getAuthenticatedGoogleClient = async ( - credentialsId: string + credentialsId: string, ): Promise => { const credentials = (await prisma.credentials.findFirst({ where: { id: credentialsId }, @@ -18,7 +18,7 @@ export const getAuthenticatedGoogleClient = async ( const oauth2Client = new OAuth2Client( env.GOOGLE_SHEETS_CLIENT_ID, env.GOOGLE_SHEETS_CLIENT_SECRET, - `${env.NEXTAUTH_URL}/api/credentials/google-sheets/callback` + `${env.NEXTAUTH_URL}/api/credentials/google-sheets/callback`, ); oauth2Client.setCredentials(data); oauth2Client.on("tokens", updateTokens(credentialsId, data));