Join Slack
Powered by
Hmm weird.. Is this a prisma bug or mongodb?
# orm-help
g
Gelo
06/15/2022, 2:25 AM
Hmm weird.. Is this a prisma bug or mongodb?
✅ 1
j
Jared Fraser
06/15/2022, 7:03 AM
the casing in your documents array is
siteid
when it should be
siteId
?
👍 2
n
Nurul
06/15/2022, 7:21 AM
I think what Jared mentioned is correct, do you get the same error if you use
siteId
?
g
Gelo
06/15/2022, 7:26 AM
@Jared Fraser
yeah haven't noticed that thank you brother.
👍 1
j
Jacob Martin
06/15/2022, 9:02 PM
Use TypeScript + static types and you'll never have an issue like that again
2
Views
Open in Slack
Previous
Next