Browse Source

Formatting.

master
mike12345567 5 years ago
parent
commit
9b7cbc9d01
  1. 1
      packages/server/src/utilities/workerRequests.js
  2. 2
      packages/standard-components/src/forms/validation.js

1
packages/server/src/utilities/workerRequests.js

@ -98,7 +98,6 @@ exports.deleteGlobalUser = async (ctx, globalId) => {
} }
exports.getGlobalUsers = async (ctx, appId = null, globalId = null) => { exports.getGlobalUsers = async (ctx, appId = null, globalId = null) => {
const endpoint = globalId const endpoint = globalId
? `/api/admin/users/${globalId}` ? `/api/admin/users/${globalId}`
: `/api/admin/users` : `/api/admin/users`

2
packages/standard-components/src/forms/validation.js

@ -77,7 +77,7 @@ const lengthConstraint = maxLength => value => {
} }
const numericalConstraint = (constraint, error) => value => { const numericalConstraint = (constraint, error) => value => {
if (value == null || value === "") { if (value == null || value === "") {
return null return null
} }
if (isNaN(value)) { if (isNaN(value)) {

Loading…
Cancel
Save