diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-19 11:31:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-19 11:31:50 +0100 |
commit | 6ff9c676e9a7be29a21734f74b66300bde47b1c9 (patch) | |
tree | 0ada0e1325c9760d07a74e7eb8773e82400bd0f9 | |
parent | 35501c0fa7be9cb71e992c37e06f3cd01afc510b (diff) | |
download | PeerTube-6ff9c676e9a7be29a21734f74b66300bde47b1c9.tar.gz PeerTube-6ff9c676e9a7be29a21734f74b66300bde47b1c9.tar.zst PeerTube-6ff9c676e9a7be29a21734f74b66300bde47b1c9.zip |
Fix lint
-rw-r--r-- | server/models/account/account.ts | 2 | ||||
-rw-r--r-- | server/models/account/user.ts | 2 | ||||
-rw-r--r-- | server/models/video/video.ts | 2 |
3 files changed, 3 insertions, 3 deletions
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<AccountModel> { | |||
197 | const query = { | 197 | const query = { |
198 | offset: start, | 198 | offset: start, |
199 | limit: count, | 199 | limit: count, |
200 | order: getSort(sort), | 200 | order: getSort(sort) |
201 | } | 201 | } |
202 | 202 | ||
203 | return AccountModel.findAndCountAll(query) | 203 | 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<UserModel> { | |||
125 | const query = { | 125 | const query = { |
126 | offset: start, | 126 | offset: start, |
127 | limit: count, | 127 | limit: count, |
128 | order: getSort(sort), | 128 | order: getSort(sort) |
129 | } | 129 | } |
130 | 130 | ||
131 | return UserModel.findAndCountAll(query) | 131 | 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<VideoModel> { | |||
637 | const query = { | 637 | const query = { |
638 | offset: start, | 638 | offset: start, |
639 | limit: count, | 639 | limit: count, |
640 | order: getSort(sort), | 640 | order: getSort(sort) |
641 | } | 641 | } |
642 | 642 | ||
643 | const serverActor = await getServerActor() | 643 | const serverActor = await getServerActor() |