diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-09-30 21:38:55 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-09-30 21:38:55 -0300 |
commit | 12e2fa110e27655b4d10dfdb013beee253a975ba (patch) | |
tree | a651001dbc320e8f1685992563735d8719ac4845 | |
parent | 06ea3f5e50fc3c72d24c4e4002279a451c41a08c (diff) |
validators: isContentString: accept empty string
Evil
-rw-r--r-- | src/data/validators.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 4bdbe5cd..b7dbb629 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -468,7 +468,7 @@ const trimWhitespaceNearEndRegexp = / +$/gm; export function isContentString(content) { - isStringNonEmpty(content); + isString(content); const mainAggregate = openAggregate({ message: `Errors validating content string`, |