error with this prisma delete request?
I'm not sure what the issue is with this attempt to delete a db entry.
6 Replies
You used findMany. So an array is returned.
storedToken is an array
And an array doesn't have a property "id"
ahhh thanks
how about this one
As it says, "expires" is not optional and therefore missing
thanks