From: Chocobozzz Date: Mon, 19 Feb 2018 10:31:50 +0000 (+0100) Subject: Fix lint X-Git-Tag: v0.0.26-alpha~18 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=6ff9c676e9a7be29a21734f74b66300bde47b1c9;p=github%2FChocobozzz%2FPeerTube.git Fix lint --- 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()