Formatting.
This commit is contained in:
parent
8b32c7073d
commit
71834d01c6
|
@ -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`
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue