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
Christoph15mo ago
You used findMany. So an array is returned. storedToken is an array And an array doesn't have a property "id"
machina
machina15mo ago
ahhh thanks how about this one
machina
machina15mo ago
No description
machina
machina15mo ago
No description
Christoph
Christoph15mo ago
As it says, "expires" is not optional and therefore missing
machina
machina15mo ago
thanks
Want results from more Discord servers?
Add your server