Skip to content

Commit

Permalink
api fix for solo certs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcoombs2000 committed Jan 28, 2024
1 parent ff65dc9 commit 960cdbe
Show file tree
Hide file tree
Showing 2 changed files with 34,214 additions and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/TrainingController.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,9 @@ router.get('/solo', getUser,
//auth(['atm', 'datm', 'ta', 'ins', 'mtr', 'wm']),
async (req, res) => {
try {
const users = await User.find({vis: false, cid: { "$nin": [995625] }}).select('-email -idsToken -discordInfo').sort({
const users = await User.find({member:true, vis: false, cid: { "$nin": [995625] }}).select('-email -idsToken -discordInfo').sort({
rating: 'desc',
lname: 'asc',

fname: 'asc'
}).populate({
path: 'certifications',
Expand Down
Loading

0 comments on commit 960cdbe

Please sign in to comment.