TypeError: The "payload" argument must be of type object. Received null
Hi, I'm facing this issue
I've tried to search to see if anyone got the same issue but couldn't found any solutions
Here's my schema
[TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}I've tried to search to see if anyone got the same issue but couldn't found any solutions
Here's my schema
generator client {
provider = "prisma-client-js"
previewFeatures = ["fullTextSearchPostgres", "driverAdapters"]
}
generator json {
provider = "prisma-json-types-generator"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
relationMode = "prisma"
}
model User {
id String @id
email String
}
model Account {
id String @id
name String
street1 String
street2 String?
city String
zip String
country String
region String?
attention String?
email String
phone String
taxId String
}
model Sender {
id String @id
name String
street1 String
street2 String?
city String
zip String
country String
region String?
attention String?
email String
phone String
}
model Receiver {
id String @id
name String
street1 String
street2 String?
city String
zip String
country String
region String?
attention String?
email String
phone String
}
model VerificationCode {
id String @id @default(cuid())
email String
code String
expiresAt DateTime
createdAt DateTime @default(now())
}
