Formatting.

This commit is contained in:
mike12345567 2021-05-28 19:55:01 +01:00
parent d5431665e9
commit 9b7cbc9d01
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)) {