0
0

Fix indent

This commit is contained in:
syuilo 2019-02-20 22:33:22 +09:00
parent a48e503caa
commit 5a9d9dc41d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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) => {
const users = await User
.find({
$and: [
state[ps.state] || state[fallback],
origin[ps.origin] || origin[fallback]
]
}, {
$and: [
state[ps.state] || state[fallback],
origin[ps.origin] || origin[fallback]
]
}, {
limit: ps.limit,
sort: sort[ps.sort] || sort[fallback],
skip: ps.offset