File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -284,9 +284,7 @@ describe('RPC API Handler Tests', () => {
284284 } ) ;
285285
286286 it ( 'validation error' , async ( ) => {
287- let handleRequest = makeHandler ( ) ;
288-
289- handleRequest = makeHandler ( ) ;
287+ const handleRequest = makeHandler ( ) ;
290288
291289 let r = await handleRequest ( {
292290 method : 'get' ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import superjson from 'superjson';
33export const schema = `
44model User {
55 id String @id @default(cuid())
6- createdAt DateTime @default (now())
6+ createdAt DateTime @default(now())
77 updatedAt DateTime @updatedAt
88 email String @unique @email
99 posts Post[]
@@ -14,7 +14,7 @@ model User {
1414
1515model Post {
1616 id String @id @default(cuid())
17- createdAt DateTime @default (now())
17+ createdAt DateTime @default(now())
1818 updatedAt DateTime @updatedAt
1919 title String
2020 author User? @relation(fields: [authorId], references: [id])
You can’t perform that action at this time.
0 commit comments