mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 21:55:12 +00:00
Fix indent
This commit is contained in:
parent
a48e503caa
commit
5a9d9dc41d
1 changed files with 5 additions and 5 deletions
|
@ -88,11 +88,11 @@ const sort: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
||||||
export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
||||||
const users = await User
|
const users = await User
|
||||||
.find({
|
.find({
|
||||||
$and: [
|
$and: [
|
||||||
state[ps.state] || state[fallback],
|
state[ps.state] || state[fallback],
|
||||||
origin[ps.origin] || origin[fallback]
|
origin[ps.origin] || origin[fallback]
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
limit: ps.limit,
|
limit: ps.limit,
|
||||||
sort: sort[ps.sort] || sort[fallback],
|
sort: sort[ps.sort] || sort[fallback],
|
||||||
skip: ps.offset
|
skip: ps.offset
|
||||||
|
|
Loading…
Reference in a new issue