1
0
Fork 0
mirror of synced 2024-07-06 06:50:49 +12:00

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) => { 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`

View file

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