mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
fix: Correctly parse environment variables, little refactoring
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = {
|
||||
async fn() {
|
||||
const { storageLimit } = sails.config.custom;
|
||||
|
||||
if (_.isNil(storageLimit)) {
|
||||
if (storageLimit === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user