Skip to content
Snippets Groups Projects
Commit f8635653 authored by FurWaz's avatar FurWaz
Browse files

Merge remote-tracking branch 'origin/main' into main

parents a331e55a 52775fa3
No related branches found
No related tags found
No related merge requests found
...@@ -369,6 +369,7 @@ function latitude (value: any, sendError: boolean, req: express.Request, res: ex ...@@ -369,6 +369,7 @@ function latitude (value: any, sendError: boolean, req: express.Request, res: ex
* @returns true if the value is valid, false otherwise * @returns true if the value is valid, false otherwise
*/ */
function description (value: any, sendError: boolean, req: express.Request, res: express.Response): boolean { function description (value: any, sendError: boolean, req: express.Request, res: express.Response): boolean {
if (value === undefined || value === '') return true;
return typeString(value, sendError, req, res, 'description'); return typeString(value, sendError, req, res, 'description');
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment