Fix mapping for customer user to session #730

This commit is contained in:
Ramon Gutierrez 2023-05-04 18:26:57 +08:00
parent 8e53a3bb19
commit 5f4e6b1ad9

View file

@ -39,7 +39,7 @@ class CustomerUser extends BaseUser
// mobile sessions linked to this customer // mobile sessions linked to this customer
/** /**
* @ORM\OneToMany(targetEntity="CustomerSession", mappedBy="customer") * @ORM\OneToMany(targetEntity="CustomerSession", mappedBy="customer_user")
*/ */
protected $sessions; protected $sessions;