Fix migrate script (#560)

This commit is contained in:
Jeremy 2024-11-20 21:22:42 +03:00 committed by GitHub
parent fdd0acef59
commit ef1403441e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ import {
// https://authjs.dev/reference/adapter/drizzle
// biome-ignore lint: Forbidden non-null assertion.
const client = postgres(`${process.env.POSTGRES_URL!}?sslmode=require`);
const client = postgres(process.env.POSTGRES_URL!);
const db = drizzle(client);
export async function getUser(email: string): Promise<Array<User>> {