diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 54ec7cfcc..bc7595a0e 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts @@ -197,7 +197,7 @@ export class AccountModel extends Model { const query = { offset: start, limit: count, - order: getSort(sort), + order: getSort(sort) } return AccountModel.findAndCountAll(query) diff --git a/server/models/account/user.ts b/server/models/account/user.ts index 292a5d150..74cf0f4a8 100644 --- a/server/models/account/user.ts +++ b/server/models/account/user.ts @@ -125,7 +125,7 @@ export class UserModel extends Model { const query = { offset: start, limit: count, - order: getSort(sort), + order: getSort(sort) } return UserModel.findAndCountAll(query) diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 59a39b1a9..839b81a8b 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts @@ -637,7 +637,7 @@ export class VideoModel extends Model { const query = { offset: start, limit: count, - order: getSort(sort), + order: getSort(sort) } const serverActor = await getServerActor()