diff options
Diffstat (limited to 'server/models/request.ts')
-rw-r--r-- | server/models/request.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request.ts b/server/models/request.ts index 71f81ae66..e6c367f28 100644 --- a/server/models/request.ts +++ b/server/models/request.ts | |||
@@ -19,8 +19,8 @@ let listWithLimitAndRandom: RequestMethods.ListWithLimitAndRandom | |||
19 | let removeWithEmptyTo: RequestMethods.RemoveWithEmptyTo | 19 | let removeWithEmptyTo: RequestMethods.RemoveWithEmptyTo |
20 | let removeAll: RequestMethods.RemoveAll | 20 | let removeAll: RequestMethods.RemoveAll |
21 | 21 | ||
22 | export default function (sequelize, DataTypes) { | 22 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
23 | Request = sequelize.define('Request', | 23 | Request = sequelize.define<RequestInstance, RequestAttributes>('Request', |
24 | { | 24 | { |
25 | request: { | 25 | request: { |
26 | type: DataTypes.JSON, | 26 | type: DataTypes.JSON, |