feat: finish swapping drizzle for supabase
This commit is contained in:
@@ -9,7 +9,7 @@ export const authRouter = createTRPCRouter({
|
||||
login: publicProcedure
|
||||
.input(z.object({ email: z.string() }))
|
||||
.mutation(async ({ ctx, input }) => {
|
||||
const { data } = await ctx.supabase.auth.signInWithOtp({
|
||||
const { data } = await ctx.db.auth.signInWithOtp({
|
||||
email: input.email,
|
||||
options: {
|
||||
emailRedirectTo: '/boards',
|
||||
|
||||
Reference in New Issue
Block a user