Fix external service authentication (#4846)
This commit is contained in:
parent
9d1ed1eb0d
commit
0e764a2b3e
5 changed files with 35 additions and 24 deletions
|
@ -144,10 +144,10 @@ export class UserProfile {
|
|||
})
|
||||
public githubAccessToken: string | null;
|
||||
|
||||
@Column('integer', {
|
||||
nullable: true, default: null,
|
||||
@Column('varchar', {
|
||||
length: 64, nullable: true, default: null,
|
||||
})
|
||||
public githubId: number | null;
|
||||
public githubId: string | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 64, nullable: true, default: null,
|
||||
|
@ -169,10 +169,10 @@ export class UserProfile {
|
|||
})
|
||||
public discordRefreshToken: string | null;
|
||||
|
||||
@Column('integer', {
|
||||
nullable: true, default: null,
|
||||
@Column('varchar', {
|
||||
length: 64, nullable: true, default: null,
|
||||
})
|
||||
public discordExpiresDate: number | null;
|
||||
public discordExpiresDate: string | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 64, nullable: true, default: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue