Skip to content
Snippets Groups Projects
Unverified Commit 5a9d9dc4 authored by syuilo's avatar syuilo
Browse files

Fix indent

parent a48e503c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment