correction mineure

This commit is contained in:
batche
2022-12-09 11:42:58 +01:00
parent f2e57bef79
commit 87fe4bbbf4

View File

@@ -44,11 +44,11 @@ export class User {
secretTwoFactorAuth: string;
@JoinTable()
@OneToMany(type => Friendship , (friendship) => friendship.requesterId)
@OneToMany(type => Friendship , (friendship) => friendship.requesterUsername)
requesterId: Friendship[];
@JoinTable()
@OneToMany(type => Friendship , (friendship) => friendship.addresseeId)
@OneToMany(type => Friendship , (friendship) => friendship.addresseeUsername)
addresseeId: Friendship[];
@JoinColumn()