mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 18:30:13 +01:00
Try to fix prettier.
This commit is contained in:
parent
b0281e1941
commit
4567f08a0b
1 changed files with 13 additions and 15 deletions
|
|
@ -8,9 +8,7 @@ Meteor.publish('people', function(query, limit) {
|
||||||
|
|
||||||
const user = Users.findOne(this.userId);
|
const user = Users.findOne(this.userId);
|
||||||
if (user && user.isAdmin) {
|
if (user && user.isAdmin) {
|
||||||
return Users.find(
|
return Users.find(query, {
|
||||||
query,
|
|
||||||
{
|
|
||||||
limit,
|
limit,
|
||||||
sort: { createdAt: -1 },
|
sort: { createdAt: -1 },
|
||||||
fields: {
|
fields: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue