I had one-to-many relationships in my db, however when I am sending a post request only one side of the relationship gets populated,
as you can see from the code, Owners are users and they can have many Resellers because it is one-to-many r/ship , however whenever I create a reseller , the owner field will get populated on the reseller created but the resellers array in the owner account stays empty? What am I missing?
Photos are not allowed, avoid bans
it is an screenshot
Обсуждают сегодня