diff --git a/packages/server/src/utilities/workerRequests.js b/packages/server/src/utilities/workerRequests.js index b3a80711b6..639c178e2e 100644 --- a/packages/server/src/utilities/workerRequests.js +++ b/packages/server/src/utilities/workerRequests.js @@ -98,7 +98,6 @@ exports.deleteGlobalUser = async (ctx, globalId) => { } exports.getGlobalUsers = async (ctx, appId = null, globalId = null) => { - const endpoint = globalId ? `/api/admin/users/${globalId}` : `/api/admin/users` diff --git a/packages/standard-components/src/forms/validation.js b/packages/standard-components/src/forms/validation.js index 8433705e0a..ebdb3b3dab 100644 --- a/packages/standard-components/src/forms/validation.js +++ b/packages/standard-components/src/forms/validation.js @@ -77,7 +77,7 @@ const lengthConstraint = maxLength => value => { } const numericalConstraint = (constraint, error) => value => { - if (value == null || value === "") { + if (value == null || value === "") { return null } if (isNaN(value)) {