Fix lint
authorChocobozzz <me@florianbigard.com>
Mon, 19 Feb 2018 10:31:50 +0000 (11:31 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 19 Feb 2018 10:31:50 +0000 (11:31 +0100)
server/models/account/account.ts
server/models/account/user.ts
server/models/video/video.ts

index 54ec7cfccaf31c2d98128d9430d6bd387764a499..bc7595a0ee63f07d393b2b20b35034b2f5e4e4a3 100644 (file)
@@ -197,7 +197,7 @@ export class AccountModel extends Model<AccountModel> {
     const query = {
       offset: start,
       limit: count,
-      order: getSort(sort),
+      order: getSort(sort)
     }
 
     return AccountModel.findAndCountAll(query)
index 292a5d1501f99048a429c9e701bed33a809f238c..74cf0f4a8f7b0217bdff9dadaebf9fb5cf28c0e8 100644 (file)
@@ -125,7 +125,7 @@ export class UserModel extends Model<UserModel> {
     const query = {
       offset: start,
       limit: count,
-      order: getSort(sort),
+      order: getSort(sort)
     }
 
     return UserModel.findAndCountAll(query)
index 59a39b1a9a2825270d2d5ca4a91d757bcbebf129..839b81a8b2c5abeb53f8679fde7c3a9ca2cee734 100644 (file)
@@ -637,7 +637,7 @@ export class VideoModel extends Model<VideoModel> {
     const query = {
       offset: start,
       limit: count,
-      order: getSort(sort),
+      order: getSort(sort)
     }
 
     const serverActor = await getServerActor()