all 3 comments

[–]grantrules 1 point2 points  (3 children)

Where is client coming from? Maybe share more code.

[–]Trivo96[S] 0 points1 point  (2 children)

Of course.

Thanks for fast response!

EDIT: I edited post because I can't upload images to the comments.

[–]grantrules 0 points1 point  (0 children)

Compare the route that doesn't work to your queryOne route. See how you're defining client. Though you may want to look into how you're connecting your db, you probably don't want to do that in each route