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
Christoph2y ago
You used findMany. So an array is returned. storedToken is an array And an array doesn't have a property "id"
Ryan
RyanOP2y ago
ahhh thanks how about this one
Ryan
RyanOP2y ago
No description
Ryan
RyanOP2y ago
No description
Christoph
Christoph2y ago
As it says, "expires" is not optional and therefore missing
Ryan
RyanOP2y ago
thanks

Did you find this page helpful?