error with this prisma delete request?

I'm not sure what the issue is with this attempt to delete a db entry.
No description
No description
No description
No description
6 Replies
Christoph
Christoph10mo ago
You used findMany. So an array is returned. storedToken is an array And an array doesn't have a property "id"
machina
machina10mo ago
ahhh thanks how about this one
machina
machina10mo ago
No description
machina
machina10mo ago
No description
Christoph
Christoph10mo ago
As it says, "expires" is not optional and therefore missing
machina
machina10mo ago
thanks
Want results from more Discord servers?
Add your server
More Posts