Skip to content

Commit 8b29941

Browse files
authored
Merge pull request #93 from neonexus/master
Fixed a stupid mistake.
2 parents 355605c + c598b46 commit 8b29941

File tree

5 files changed

+325
-83
lines changed

5 files changed

+325
-83
lines changed

.npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
loglevel=error
99

1010
# Make "npm audit" an opt-in thing for subsequent installs within this app:
11-
audit=false
11+
audit=true

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [v4.1.1](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v4.1.0...v4.1.1) (2023-03-14)
4+
### Features
5+
6+
* Fixed a stupid mistake in `api/controllers/get-users.js`.
7+
* Updated dependencies.
8+
39
## [v4.1.0](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v4.0.1...v4.1.0) (2023-03-13)
410
### Features
511

api/controllers/admin/get-users.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
// We assign the users to the object afterward, so we can run our safety checks.
4949
// Otherwise, if we were to put the users object into "objToWrap", they would be transformed,
5050
// and the "customToJSON" feature would no longer work, and hashed passwords would leak.
51-
out.users = await sails.models.user.find(_.omit(pagination, ['page']));
51+
out.users = await sails.models.user.find(_.omit(query, ['page']));
5252

5353
return exits.ok(out);
5454
}

0 commit comments

Comments
 (0)