From 1735c825726edaa0af5035cb6cbb0cc0db502c6d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Apr 2019 11:28:17 +0200 Subject: Update sequelize --- server/models/oauth/oauth-client.ts | 4 ++-- server/models/oauth/oauth-token.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/models/oauth') 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 { @Column clientSecret: string - @Column(DataType.ARRAY(DataType.STRING)) + @Column({ type: DataType.ARRAY(DataType.STRING) }) // FIXME: sequelize typings grants: string[] - @Column(DataType.ARRAY(DataType.STRING)) + @Column({ type: DataType.ARRAY(DataType.STRING) }) // FIXME: sequelize typings redirectUris: string[] @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 { } ] } - ] + ] as any // FIXME: sequelize typings } }) @Table({ -- cgit v1.2.3