update user refactor
This commit is contained in:
1 parent
88bb8ef2d3
commit
cb5b8e0673
16 files changed
+293
-80
No files matched your search
@@ -1,8 +1,3 @@
|
||||
/**
|
||||
* Converts a request body parameter to a boolean.
|
||||
* @param {string | boolean} value
|
||||
* @returns {boolean}
|
||||
*/
|
||||
const ParseBoolean = (value) => {
|
||||
if (value === true || value === "true") {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user