Fix lint
This commit is contained in:
parent
35501c0fa7
commit
6ff9c676e9
|
@ -197,7 +197,7 @@ export class AccountModel extends Model<AccountModel> {
|
||||||
const query = {
|
const query = {
|
||||||
offset: start,
|
offset: start,
|
||||||
limit: count,
|
limit: count,
|
||||||
order: getSort(sort),
|
order: getSort(sort)
|
||||||
}
|
}
|
||||||
|
|
||||||
return AccountModel.findAndCountAll(query)
|
return AccountModel.findAndCountAll(query)
|
||||||
|
|
|
@ -125,7 +125,7 @@ export class UserModel extends Model<UserModel> {
|
||||||
const query = {
|
const query = {
|
||||||
offset: start,
|
offset: start,
|
||||||
limit: count,
|
limit: count,
|
||||||
order: getSort(sort),
|
order: getSort(sort)
|
||||||
}
|
}
|
||||||
|
|
||||||
return UserModel.findAndCountAll(query)
|
return UserModel.findAndCountAll(query)
|
||||||
|
|
|
@ -637,7 +637,7 @@ export class VideoModel extends Model<VideoModel> {
|
||||||
const query = {
|
const query = {
|
||||||
offset: start,
|
offset: start,
|
||||||
limit: count,
|
limit: count,
|
||||||
order: getSort(sort),
|
order: getSort(sort)
|
||||||
}
|
}
|
||||||
|
|
||||||
const serverActor = await getServerActor()
|
const serverActor = await getServerActor()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user