mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 23:43:09 +02:00
Fix #4705
This commit is contained in:
parent
bce8c5a315
commit
400cdf0f26
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue