fix: Correctly parse environment variables, little refactoring

This commit is contained in:
Maksim Eltyshev
2025-09-05 00:19:35 +02:00
parent eb259a1482
commit 203fbd152d
7 changed files with 21 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ module.exports = {
async fn() {
const { storageLimit } = sails.config.custom;
if (_.isNil(storageLimit)) {
if (storageLimit === null) {
return null;
}