Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker authored Jun 22, 2024
1 parent bf42554 commit 1f184ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/[[...route]]/accounts.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Hono } from 'hono';
import { createId } from '@paralleldrive/cuid2';
import { db } from '@/db/drizzle';
import { accounts, insertAccountSchema } from '@/db/schema';
import { accounts, insertAccountsSchema } from '@/db/schema';
import { clerkMiddleware, getAuth } from '@hono/clerk-auth';
import { eq } from 'drizzle-orm';
import { zValidator } from '@hono/zod-validator';
Expand Down Expand Up @@ -29,7 +29,7 @@ const app = new Hono()
clerkMiddleware(),
zValidator(
'json',
insertAccountSchema.pick({
insertAccountsSchema.pick({
name: true,
}),
),
Expand Down

0 comments on commit 1f184ab

Please sign in to comment.