aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/account')
-rw-r--r--server/models/account/account-video-rate.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/account/account-video-rate.ts b/server/models/account/account-video-rate.ts
index 5064987dc..6955f45ee 100644
--- a/server/models/account/account-video-rate.ts
+++ b/server/models/account/account-video-rate.ts
@@ -168,7 +168,8 @@ export class AccountVideoRateModel extends Model<AccountVideoRateModel> {
168 model: ActorModel.unscoped(), 168 model: ActorModel.unscoped(),
169 required: true, 169 required: true,
170 where: { 170 where: {
171 preferredUsername: accountName 171 preferredUsername: accountName,
172 serverId: null
172 } 173 }
173 } 174 }
174 ] 175 ]