diff options
Diffstat (limited to 'server/models/oauth-token.ts')
-rw-r--r-- | server/models/oauth-token.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/oauth-token.ts b/server/models/oauth-token.ts index d70bd2bce..91cef11dd 100644 --- a/server/models/oauth-token.ts +++ b/server/models/oauth-token.ts | |||
@@ -18,8 +18,8 @@ let getByTokenAndPopulateUser: OAuthTokenMethods.GetByTokenAndPopulateUser | |||
18 | let getByRefreshTokenAndPopulateUser: OAuthTokenMethods.GetByRefreshTokenAndPopulateUser | 18 | let getByRefreshTokenAndPopulateUser: OAuthTokenMethods.GetByRefreshTokenAndPopulateUser |
19 | let removeByUserId: OAuthTokenMethods.RemoveByUserId | 19 | let removeByUserId: OAuthTokenMethods.RemoveByUserId |
20 | 20 | ||
21 | export default function (sequelize, DataTypes) { | 21 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
22 | OAuthToken = sequelize.define('OAuthToken', | 22 | OAuthToken = sequelize.define<OAuthTokenInstance, OAuthTokenAttributes>('OAuthToken', |
23 | { | 23 | { |
24 | accessToken: { | 24 | accessToken: { |
25 | type: DataTypes.STRING, | 25 | type: DataTypes.STRING, |