diff options
Diffstat (limited to 'server/models/oauth')
-rw-r--r-- | server/models/oauth/oauth-client.ts | 4 | ||||
-rw-r--r-- | server/models/oauth/oauth-token.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/models/oauth/oauth-client.ts b/server/models/oauth/oauth-client.ts index 42c59bb79..b4a841edd 100644 --- a/server/models/oauth/oauth-client.ts +++ b/server/models/oauth/oauth-client.ts | |||
@@ -24,10 +24,10 @@ export class OAuthClientModel extends Model<OAuthClientModel> { | |||
24 | @Column | 24 | @Column |
25 | clientSecret: string | 25 | clientSecret: string |
26 | 26 | ||
27 | @Column(DataType.ARRAY(DataType.STRING)) | 27 | @Column({ type: DataType.ARRAY(DataType.STRING) }) // FIXME: sequelize typings |
28 | grants: string[] | 28 | grants: string[] |
29 | 29 | ||
30 | @Column(DataType.ARRAY(DataType.STRING)) | 30 | @Column({ type: DataType.ARRAY(DataType.STRING) }) // FIXME: sequelize typings |
31 | redirectUris: string[] | 31 | redirectUris: string[] |
32 | 32 | ||
33 | @CreatedAt | 33 | @CreatedAt |
diff --git a/server/models/oauth/oauth-token.ts b/server/models/oauth/oauth-token.ts index 08d892da4..3f41ee63b 100644 --- a/server/models/oauth/oauth-token.ts +++ b/server/models/oauth/oauth-token.ts | |||
@@ -55,7 +55,7 @@ enum ScopeNames { | |||
55 | } | 55 | } |
56 | ] | 56 | ] |
57 | } | 57 | } |
58 | ] | 58 | ] as any // FIXME: sequelize typings |
59 | } | 59 | } |
60 | }) | 60 | }) |
61 | @Table({ | 61 | @Table({ |