diff options
Diffstat (limited to 'server/helpers/custom-validators/misc.ts')
-rw-r--r-- | server/helpers/custom-validators/misc.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/misc.ts b/server/helpers/custom-validators/misc.ts index f6bb02c8e..8d215a416 100644 --- a/server/helpers/custom-validators/misc.ts +++ b/server/helpers/custom-validators/misc.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import 'express-validator' | ||
2 | |||
1 | function exists (value: any) { | 3 | function exists (value: any) { |
2 | return value !== undefined && value !== null | 4 | return value !== undefined && value !== null |
3 | } | 5 | } |