dedox7576
07/20/2022, 7:27 PMreq.session.getUserId()
on each db record, so when my endpoint "../products/all"
get hitted, I can filter all the db records by UserId and return to my front-end only the products of the given user.
Is this the right way to do it? Or maybe I am missing something? Thank you in advancerp_st
07/20/2022, 7:29 PMdedox7576
07/20/2022, 7:35 PM