mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-04 17:58:43 +09:00
Fix #4705
This commit is contained in:
parent
bce8c5a315
commit
400cdf0f26
@ -25,7 +25,8 @@ export class AccessToken {
|
||||
})
|
||||
public hash: string;
|
||||
|
||||
@RelationId((self: AccessToken) => self.user)
|
||||
@Index()
|
||||
@Column(id())
|
||||
public userId: User['id'];
|
||||
|
||||
@ManyToOne(type => User, {
|
||||
|
Loading…
Reference in New Issue
Block a user