Formatting.

This commit is contained in:
mike12345567 2021-05-28 19:55:01 +01:00
parent 8b32c7073d
commit 71834d01c6
2 changed files with 1 additions and 2 deletions

View File

@ -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`

View File

@ -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)) {