})
}
-load = function (userId: number, videoId: string, transaction: Sequelize.Transaction) {
- const options: Sequelize.FindOptions = {
+load = function (userId: number, videoId: number, transaction: Sequelize.Transaction) {
+ const options: Sequelize.FindOptions<UserVideoRateAttributes> = {
where: {
userId,
videoId