-1
The _id expects a String. You need to define its type as a String.
-1
0
The _id expects a String. You need to define its type as a String.
Browser other questions tagged node.js typescript mongoose
You are not signed in. Login or sign up in order to post.
This _id expects a String if I’m not mistaken. Checks if the type you’re passing/comparing is String...
– Emerson Vieira
I converted the two values to String and it worked! If you want to answer this question I give the vote here. Thanks
– Guilherme Nunes