diff --git a/apiserver/plane/settings/local.py b/apiserver/plane/settings/local.py index 324d2edbe..20b257a27 100644 --- a/apiserver/plane/settings/local.py +++ b/apiserver/plane/settings/local.py @@ -29,7 +29,7 @@ DOCKERIZED = int(os.environ.get( "DOCKERIZED", 0 )) == 1 -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index 90909cf08..f0151cbbe 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -32,7 +32,7 @@ SITE_ID = 1 # Set the variable true if running in docker environment DOCKERIZED = int(os.environ.get("DOCKERIZED", 0)) == 1 -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) diff --git a/apiserver/plane/settings/staging.py b/apiserver/plane/settings/staging.py index c5db5d300..c6ffcaf22 100644 --- a/apiserver/plane/settings/staging.py +++ b/apiserver/plane/settings/staging.py @@ -54,7 +54,7 @@ DOCKERIZED = int(os.environ.get( "DOCKERIZED", 0 )) == 1 FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) -USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1 +USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1 sentry_sdk.init( dsn=os.environ.get("SENTRY_DSN"),