hopefully fixed invited relationship II: The Revenge
This commit is contained in:
parent
d2aaa45a8b
commit
262dbf12e7
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ public class User {
|
|||
private String email;
|
||||
|
||||
/** A host user who can invite guests to their smart house */
|
||||
@OneToMany(mappedBy = "host")
|
||||
@OneToMany(mappedBy = "guest")
|
||||
private Set<Invited> guests;
|
||||
|
||||
@Column(nullable = false)
|
||||
|
|
Loading…
Reference in a new issue