Issue with findOne function

What does the code look like? Looks like you’re calling findOne on the wrong object as whatever you’re calling it on does not have that method available.

1 Like